src/RememberMe/AbstractRememberMeService.php
protected function generateCookieValue($username, $password)
    {
        // $username is encoded because it might contain COOKIE_DELIMITER,
        // we assume other values don't
        return $this->encodeCookie(array(
            base64_encode($username),
            $this->generateCookieHash($username, $password),
        ));
    }
protected function generateCookieValue($username, $password)
    {
        // $username is encoded because it might contain COOKIE_DELIMITER,
        // we assume other values don't
        return $this->encodeCookie(array(
            base64_encode($username),
            $this->generateCookieHash($username, $password),
        ));
    }
protected function generateCookieValue ( $ username , $ password ) { // $username is encoded because it might contain COOKIE_DELIMITER, // we assume other values don't return $ this -> encodeCookie ( array ( base64_encode ( $ username ) , $ this -> generateCookieHash ( $ username , $ password ) , ) ) ; }
Generates the cookie value.

@param string $username The username
@param string $password The encoded password

@return string
Generates the cookie value .