public function addCookie($cookie = Array())
    {
        foreach ($cookie as $key => $val) {
            if (isset($this->encryption_key)) {
                $val = $this->encryptor->encrypt($val);
            }

            $this->cookies[$key] = $val;
        }
    }