src/_legacyCode/HttpMessage.php
public function getHeaderLines($name)
    {
        $name = strtolower($name);

        if (!isset($this->headers[$name])) {
            return array();
        }

        return $this->headers[$name][1];
    }
public function getHeaderLines($name)
    {
        $name = strtolower($name);

        if (!isset($this->headers[$name])) {
            return array();
        }

        return $this->headers[$name][1];
    }
public function getHeaderLines ( $ name ) { $ name = strtolower ( $ name ) ; if ( ! isset ( $ this -> headers [ $ name ] ) ) { return array ( ) ; } return $ this -> headers [ $ name ] [ 1 ] ; }
Provides value for specified header name.
If header doesn't exists it will return empty array.

@param string $name Name of header

@return string[]
Provides value for specified header name . If header doesn t exists it will return empty array .