MediaWiki
1.27.2
|
Deferrable Update for closure/callback updates via IDatabase::doAtomicSection() More...
Public Member Functions | |
__construct (IDatabase $dbw, $fname, $callback) | |
doUpdate () | |
Perform the actual work. More... | |
Private Attributes | |
Closure callable | $callback |
IDatabase | $dbw |
string | $fname |
Deferrable Update for closure/callback updates via IDatabase::doAtomicSection()
Definition at line 7 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::__construct | ( | IDatabase | $dbw, |
$fname, | |||
$callback | |||
) |
IDatabase | $dbw | |
string | $fname | Caller name (usually METHOD) |
callable | $callback |
InvalidArgumentException |
Definition at line 22 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 31 of file AtomicSectionUpdate.php.
|
private |
Definition at line 13 of file AtomicSectionUpdate.php.
Referenced by __construct().
|
private |
Definition at line 9 of file AtomicSectionUpdate.php.
Referenced by __construct().
|
private |
Definition at line 11 of file AtomicSectionUpdate.php.
Referenced by __construct().