/** * {@inheritdoc} */ public function getRequest() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getRequest'); if (!$pluginInfo) { return parent::getRequest(); } else { return $this->___callPlugins('getRequest', func_get_args(), $pluginInfo); } }
/** * Check if the login form action is requested directly * * @param Login $login * @return bool */ protected function isLoginForm(Login $login) { return $login->getRequest()->getUri() == $login->getUrl('*'); }