MediaWiki  master
ApiMaxLagInfoHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Api\Hook;
4 
12 interface ApiMaxLagInfoHook {
29  public function onApiMaxLagInfo( &$lagInfo ): void;
30 }
This is a hook handler interface, see docs/Hooks.md.
onApiMaxLagInfo(&$lagInfo)
This hook is called when lag information is being requested via API.