protected function saveAfterLogin(Request $httpRequest)
    {
        $referer = $httpRequest->headers->get("referer", null, true);
        $afterLogin = Utils::getRefererQueryParam($referer, "afterLogin");
        if ($afterLogin && Utils::isValidPageId($afterLogin)) {
            $this->session->set("afterLogin", $afterLogin);
        }
    }
protected function saveAfterLogin(Request $httpRequest)
    {
        $referer = $httpRequest->headers->get("referer", null, true);
        $afterLogin = Utils::getRefererQueryParam($referer, "afterLogin");
        if ($afterLogin && Utils::isValidPageId($afterLogin)) {
            $this->session->set("afterLogin", $afterLogin);
        }
    }
protected function saveAfterLogin ( Request $ httpRequest ) { $ referer = $ httpRequest -> headers -> get ( "referer" , null , true ) ; $ afterLogin = Utils :: getRefererQueryParam ( $ referer , "afterLogin" ) ; if ( $ afterLogin && Utils :: isValidPageId ( $ afterLogin ) ) { $ this -> session -> set ( "afterLogin" , $ afterLogin ) ; } }
Saves the afterLogin parameter

@param Request $httpRequest
Saves the afterLogin parameter