Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Hook; |
4 | |
5 | // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps |
6 | use MediaWiki\EditPage\EditPage; |
7 | use MediaWiki\Status\Status; |
8 | |
9 | /** |
10 | * This is a hook handler interface, see docs/Hooks.md. |
11 | * Use the hook name "EditPage::attemptSave:after" to register handlers implementing this interface. |
12 | * |
13 | * @stable to implement |
14 | * @ingroup Hooks |
15 | */ |
16 | interface EditPage__attemptSave_afterHook { |
17 | /** |
18 | * This hook is called after an article save attempt. |
19 | * |
20 | * @since 1.35 |
21 | * |
22 | * @param EditPage $editpage_Obj Current EditPage object |
23 | * @param Status $status Resulting Status object |
24 | * @param array $resultDetails Result details array |
25 | * @return bool|void True or no return value to continue or false to abort |
26 | */ |
27 | public function onEditPage__attemptSave_after( $editpage_Obj, $status, |
28 | $resultDetails |
29 | ); |
30 | } |