public function get($name)
    {
        if (!is_string($name)) {
            throw new Cookie\Exception('The cookie name must be string');
        }

        if (isset($this->cookies[$name])) {
            $this->cookies[$name]->useEncryption($this->isUsingEncryption());

            return $this->cookies[$name];
        }

        return null;
    }