MediaWiki
1.32.5
|
Deferrable Update for closure/callback. More...
Public Member Functions | |
__construct (callable $callback, $fname='unknown', $dbws=[]) | |
cancelOnRollback ( $trigger) | |
doUpdate () | |
Perform the actual work. More... | |
getOrigin () | |
Private Attributes | |
callable null | $callback |
string | $fname |
Deferrable Update for closure/callback.
Definition at line 8 of file MWCallableUpdate.php.
MWCallableUpdate::__construct | ( | callable | $callback, |
$fname = 'unknown' , |
|||
$dbws = [] |
|||
) |
MWCallableUpdate::cancelOnRollback | ( | $trigger | ) |
Definition at line 38 of file MWCallableUpdate.php.
MWCallableUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 32 of file MWCallableUpdate.php.
Referenced by MWCallableUpdateTest\testCancel(), MWCallableUpdateTest\testCancelAll(), and MWCallableUpdateTest\testCancelSome().
MWCallableUpdate::getOrigin | ( | ) |
Implements DeferrableCallback.
Definition at line 44 of file MWCallableUpdate.php.
References $fname.
|
private |
Definition at line 10 of file MWCallableUpdate.php.
Referenced by __construct().
|
private |
Definition at line 12 of file MWCallableUpdate.php.
Referenced by __construct(), and getOrigin().