Neos\Flow\Http\AbstractMessage::getHeader PHP Метод

getHeader() публичный Метод

If one such header exists, the value is returned as a single string. If multiple headers of that name exist, the values are returned as an array. If no such header exists, NULL is returned. Dates are returned as DateTime objects with the timezone set to GMT.
public getHeader ( string $name ) : array | string
$name string Name of the header
Результат array | string An array of field values if multiple headers of that name exist, a string value if only one value exists and NULL if there is no such header.
    public function getHeader($name)
    {
        return $this->headers->get($name);
    }