code: public function getValue($name, $defaultValue = null)
      {
          return isset($this->_cookies[$name]) ? $this->_cookies[$name]->value : $defaultValue;
      }
docs: Returns the value of the named cookie.
  @param string $name the cookie name
  @param mixed $defaultValue the value that should be returned when the named cookie does not exist.
  @return mixed the value of the named cookie.
  @see get()