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 ParserOptions; |
6 | |
7 | /** |
8 | * @since 1.37 |
9 | * An interface to hold pre-load transform params. |
10 | */ |
11 | interface PreloadTransformParams { |
12 | |
13 | /** |
14 | * @return PageReference |
15 | */ |
16 | public function getPage(): PageReference; |
17 | |
18 | /** |
19 | * @return array |
20 | */ |
21 | public function getParams(): array; |
22 | |
23 | /** |
24 | * @return ParserOptions |
25 | */ |
26 | public function getParserOptions(): ParserOptions; |
27 | } |