2 namespace MediaWiki\Content\Transform
;
4 use MediaWiki\Page\PageReference
;
5 use MediaWiki\Parser\ParserOptions
;
6 use MediaWiki\User\UserIdentity
;
10 * An interface to hold pre-save transform params.
12 interface PreSaveTransformParams
{
15 * @return PageReference
17 public function getPage(): PageReference
;
20 * @return UserIdentity
22 public function getUser(): UserIdentity
;
25 * @return ParserOptions
27 public function getParserOptions(): ParserOptions
;