public function getHeader($name)
    {
        $internalName = strtolower($name);

        if (true === $this->hasHeader($internalName)) {
            $value = $this->headers[$internalName];

        } else {
            $value = null;
        }

        return $value;
    }
public function getHeader($name)
    {
        $internalName = strtolower($name);

        if (true === $this->hasHeader($internalName)) {
            $value = $this->headers[$internalName];

        } else {
            $value = null;
        }

        return $value;
    }
public function getHeader ( $ name ) { $ internalName = strtolower ( $ name ) ; if ( true === $ this -> hasHeader ( $ internalName ) ) { $ value = $ this -> headers [ $ internalName ] ; } else { $ value = null ; } return $ value ; }
Getter for header.

@param string $name The key to return header(s) for

@author Benjamin Carl <opensource@clickalicious.de>
@return array|null The header if set
@access public
Getter for header .