aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Hook/MaintenanceShellStartHook.php
blob: 507a31498a5f3c6c7379c51f2a9431e6e64ac5e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

namespace MediaWiki\Hook;

/**
 * @stable to implement
 * @ingroup Hooks
 */
interface MaintenanceShellStartHook {
	/**
	 * This hook is called before maintenance script shells start, such as eval.php and shell.php
	 *
	 * @since 1.36
	 * @return void This hook must not abort, it must return no value
	 */
	public function onMaintenanceShellStart(): void;
}