MediaWiki  1.27.2
MWCallableUpdate Class Reference

Deferrable Update for closure/callback. More...

Inheritance diagram for MWCallableUpdate:
Collaboration diagram for MWCallableUpdate:

Public Member Functions

 __construct ($callback)
 
 doUpdate ()
 Perform the actual work. More...
 

Private Attributes

Closure callable $callback
 

Detailed Description

Deferrable Update for closure/callback.

Definition at line 6 of file CallableUpdate.php.

Constructor & Destructor Documentation

MWCallableUpdate::__construct (   $callback)
Parameters
callable$callback
Exceptions
InvalidArgumentException

Definition at line 14 of file CallableUpdate.php.

References $callback.

Member Function Documentation

MWCallableUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 21 of file CallableUpdate.php.

Member Data Documentation

Closure callable MWCallableUpdate::$callback
private

Definition at line 8 of file CallableUpdate.php.

Referenced by __construct().


The documentation for this class was generated from the following file: