MediaWiki  1.23.12
MWCallableUpdate Class Reference

Deferrable Update for closure/callback. More...

Inheritance diagram for MWCallableUpdate:
Collaboration diagram for MWCallableUpdate:

Public Member Functions

 __construct ( $callback)
 
 doUpdate ()
 Run the update. More...
 

Private Attributes

closure callback $callback
 

Detailed Description

Deferrable Update for closure/callback.

Definition at line 6 of file CallableUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 15 of file CallableUpdate.php.

References $callback.

Member Function Documentation

◆ doUpdate()

MWCallableUpdate::doUpdate ( )

Run the update.

Implements DeferrableUpdate.

Definition at line 25 of file CallableUpdate.php.

Member Data Documentation

◆ $callback

closure callback MWCallableUpdate::$callback
private

Definition at line 9 of file CallableUpdate.php.

Referenced by __construct().


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