Wikibase
MediaWiki Wikibase extension
|
A generic DataUpdate based on a callable passed to the constructor. More...
Public Member Functions | |
__construct (callable $doUpdateFunction,... $args) | |
setExceptionHandler (ExceptionHandler $exceptionHandler) | |
doUpdate () | |
Calls the function specified in the constructor with any additional arguments passed to the constructor. More... | |
Private Attributes | |
$doUpdateFunction | |
$arguments | |
$exceptionHandler | |
A generic DataUpdate based on a callable passed to the constructor.
Together with any additional parameters provided to the constructor an instance of this methods constitutes a closure for a call to the callable.
Wikibase\Repo\Content\DataUpdateAdapter::__construct | ( | callable | $doUpdateFunction, |
$args | |||
) |
callable | $doUpdateFunction | |
mixed | ...$args |
InvalidArgumentException |
Wikibase\Repo\Content\DataUpdateAdapter::doUpdate | ( | ) |
Calls the function specified in the constructor with any additional arguments passed to the constructor.
Wikibase\Repo\Content\DataUpdateAdapter::setExceptionHandler | ( | ExceptionHandler | $exceptionHandler | ) |
|
private |
|
private |
|
private |