| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Hook; |
| 4 | |
| 5 | /** |
| 6 | * @stable to implement |
| 7 | * @ingroup Hooks |
| 8 | */ |
| 9 | interface MaintenanceShellStartHook { |
| 10 | /** |
| 11 | * This hook is called before maintenance script shells start, such as eval.php and shell.php |
| 12 | * |
| 13 | * @since 1.36 |
| 14 | * @return void This hook must not abort, it must return no value |
| 15 | */ |
| 16 | public function onMaintenanceShellStart(): void; |
| 17 | } |