original_string: public function getCookie($key, $default = null)
      {
          return isset($this->cookies[$key]) ? $this->cookies[$key]['value'] : $default;
      }
code: public function getCookie($key, $default = null)
      {
          return isset($this->cookies[$key]) ? $this->cookies[$key]['value'] : $default;
      }
code_tokens: public function getCookie ( $ key , $ default = null ) { return isset ( $ this -> cookies [ $ key ] ) ? $ this -> cookies [ $ key ] [ 'value' ] : $ default ; }
docstring: Get response cookie
  
  @param  string $key The name of cookie
  @param  mixed $default The default value when cookie not exists
  @return mixed
docstring_tokens: Get response cookie