public function getCookie($key, $default = null)
    {
        return isset($this->cookies[$key]) ? $this->cookies[$key]['value'] : $default;
    }
public function getCookie($key, $default = null)
    {
        return isset($this->cookies[$key]) ? $this->cookies[$key]['value'] : $default;
    }
public function getCookie ( $ key , $ default = null ) { return isset ( $ this -> cookies [ $ key ] ) ? $ this -> cookies [ $ key ] [ 'value' ] : $ default ; }
Get response cookie

@param  string $key The name of cookie
@param  mixed $default The default value when cookie not exists
@return mixed
Get response cookie