public function get($name, $default = null)
    {
        if (null !== ($value = $this->request->cookies->get($name))) {
            return $value ?: $default;
        }

        return $default;
    }