assertRequiredOptions( self::$constructorOptions ); $this->options = $options; $this->loadBalancer = $loadBalancer; $this->nsInfo = $nsInfo; $this->watchedItems = $watchedItems; $this->permMgr = $permMgr; $this->repoGroup = $repoGroup; } /** * @param Title $from * @param Title $to * @return MovePage */ public function newMovePage( Title $from, Title $to ) : MovePage { return new MovePage( $from, $to, $this->options, $this->loadBalancer, $this->nsInfo, $this->watchedItems, $this->permMgr, $this->repoGroup ); } }