protected function getAuthCookie($rememberMe)
    {
        $authCookieExpiry = $rememberMe ? time() + $this->authCookieValidTime : 0;
        $cookie = new Cookie($this->authCookieName, $authCookieExpiry, $this->authCookiePath);
        return $cookie;
    }
protected function getAuthCookie($rememberMe)
    {
        $authCookieExpiry = $rememberMe ? time() + $this->authCookieValidTime : 0;
        $cookie = new Cookie($this->authCookieName, $authCookieExpiry, $this->authCookiePath);
        return $cookie;
    }
protected function getAuthCookie ( $ rememberMe ) { $ authCookieExpiry = $ rememberMe ? time ( ) + $ this -> authCookieValidTime : 0 ; $ cookie = new Cookie ( $ this -> authCookieName , $ authCookieExpiry , $ this -> authCookiePath ) ; return $ cookie ; }
Returns a Cookie instance that manages the browser cookie used to store session
information.

@param bool $rememberMe Whether the authenticated session should be remembered after
the browser is closed or not.
@return Cookie
Returns a Cookie instance that manages the browser cookie used to store session information .