21 lines
423 B
PHP
21 lines
423 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace MediaWiki\Api\Hook;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @stable for implementation
|
||
|
|
* @ingroup Hooks
|
||
|
|
*/
|
||
|
|
interface APIAfterExecuteHook {
|
||
|
|
/**
|
||
|
|
* After calling the execute() method of an API module. Use
|
||
|
|
* this to extend core API modules.
|
||
|
|
*
|
||
|
|
* @since 1.35
|
||
|
|
*
|
||
|
|
* @param ?mixed $module Module object
|
||
|
|
* @return bool|void True or no return value to continue or false to abort
|
||
|
|
*/
|
||
|
|
public function onAPIAfterExecute( $module );
|
||
|
|
}
|