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 | namespace MediaWiki\Content\Transform; |
3 | |
4 | use MediaWiki\Page\PageReference; |
5 | use MediaWiki\User\UserIdentity; |
6 | use ParserOptions; |
7 | |
8 | /** |
9 | * @since 1.37 |
10 | * An interface to hold pre-save transform params. |
11 | */ |
12 | interface PreSaveTransformParams { |
13 | |
14 | /** |
15 | * @return PageReference |
16 | */ |
17 | public function getPage(): PageReference; |
18 | |
19 | /** |
20 | * @return UserIdentity |
21 | */ |
22 | public function getUser(): UserIdentity; |
23 | |
24 | /** |
25 | * @return ParserOptions |
26 | */ |
27 | public function getParserOptions(): ParserOptions; |
28 | } |