public function get(string $name)
    {
        if (!array_key_exists($name, $this->headers)) {
            return null;
        }

        return $this->headers[$name];
    }
public function get(string $name)
    {
        if (!array_key_exists($name, $this->headers)) {
            return null;
        }

        return $this->headers[$name];
    }
public function get ( string $ name ) { if ( ! array_key_exists ( $ name , $ this -> headers ) ) { return null ; } return $ this -> headers [ $ name ] ; }
Gets the value for a header

@param string $name The name of the header to get
@return mixed|null The value of the header if it exists, otherwise null
Gets the value for a header