public function encode()
    {
        $json = json_encode([
            'user_email' => $this->email,
            'agent' => $this->userAgent,
            'series' => $this->series,
            'token' => $this->token,
        ]);

        return base64_encode($json);
    }
public function encode()
    {
        $json = json_encode([
            'user_email' => $this->email,
            'agent' => $this->userAgent,
            'series' => $this->series,
            'token' => $this->token,
        ]);

        return base64_encode($json);
    }
public function encode ( ) { $ json = json_encode ( [ 'user_email' => $ this -> email , 'agent' => $ this -> userAgent , 'series' => $ this -> series , 'token' => $ this -> token , ] ) ; return base64_encode ( $ json ) ; }
Encodes a remember me cookie.

@return string
Encodes a remember me cookie .