original_string: public function header($key, $default = null)
      {
          if (array_key_exists($key, $this->headers)) {
              return $this->headers[$key];
          }
  
          return $default;
      }
code: public function header($key, $default = null)
      {
          if (array_key_exists($key, $this->headers)) {
              return $this->headers[$key];
          }
  
          return $default;
      }
code_tokens: public function header ( $ key , $ default = null ) { if ( array_key_exists ( $ key , $ this -> headers ) ) { return $ this -> headers [ $ key ] ; } return $ default ; }
docstring: Get a header value. Return given default if none found
  
  @param  string $key
  @param  mixed $default
  @return mixed
docstring_tokens: Get a header value . Return given default if none found