public function cookies($name, $normalize = null, $default = null) { if ($this->hasCookies($name)) { if ($normalize != null) { return \GF\Common::normalize($this->_cookies[$name], $normalize); } return $this->_cookies[$name]; } return $default; }