/** * Gets header value. Convenience method - you can get header bag and get header from there * * @param string $header * @param string|array $default * @param boolean $first * * @return string|array */ public function getHeader($header, $default = null, $first = true) { return $this->headers->getHeader($header, $default, $first); }
/** * Gets formatted headers. Convenience function - you can get header bag and get them from there * * @return array */ public function getFormattedHeaders() { return $this->headers->getFormattedHeaders(); }