protected function parseCookie()
    {
        if (!$cookie = openssl_decrypt($this->getCookie(), $this->cipher, $this->config->secret, false, $this->vector)) {
            return false;
        }

        return (object) json_decode($cookie, true);
    }