public function getCookie($key = null, $default = null, $mode = null)
    {
        return $this->getValue($this->getCookieParams(), $key, $default, $mode);
    }
public function getCookie($key = null, $default = null, $mode = null)
    {
        return $this->getValue($this->getCookieParams(), $key, $default, $mode);
    }
public function getCookie ( $ key = null , $ default = null , $ mode = null ) { return $ this -> getValue ( $ this -> getCookieParams ( ) , $ key , $ default , $ mode ) ; }
Gets a value from a cookie that came with the request
@param  string    $key     the cookie name
@param  mixed     $default optional default value to return if the key is not present (default to `null`)
@param  string    $mode    optional cleanup of the value, available modes are: int, float, nohtml, escape, string
@return mixed             the value (or values)
Gets a value from a cookie that came with the request