/** * {@inheritdoc} */ public function setIsFirstPageAfterLogin($value) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'setIsFirstPageAfterLogin'); if (!$pluginInfo) { return parent::setIsFirstPageAfterLogin($value); } else { return $this->___callPlugins('setIsFirstPageAfterLogin', func_get_args(), $pluginInfo); } }
/** * @dataProvider firstPageAfterLoginDataProvider * @param bool $isFirstPageAfterLogin */ public function testFirstPageAfterLogin($isFirstPageAfterLogin) { $this->session->setIsFirstPageAfterLogin($isFirstPageAfterLogin); $this->assertEquals($isFirstPageAfterLogin, $this->session->isFirstPageAfterLogin()); }