2 namespace MediaWiki\Content\Transform
;
4 use MediaWiki\Page\PageReference
;
5 use MediaWiki\Parser\ParserOptions
;
6 use MediaWiki\User\UserIdentity
;
10 * An object to hold pre-save transform params.
12 class PreSaveTransformParamsValue
implements PreSaveTransformParams
{
13 /** @var PageReference */
16 /** @var UserIdentity */
19 /** @var ParserOptions */
20 private $parserOptions;
22 public function __construct( PageReference
$page, UserIdentity
$user, ParserOptions
$parserOptions ) {
25 $this->parserOptions
= $parserOptions;
28 public function getPage(): PageReference
{
32 public function getUser(): UserIdentity
{
36 public function getParserOptions(): ParserOptions
{
37 return $this->parserOptions
;