The `getHeader` function in PHP's PSR HTTP Message `RequestInterface` retrieves the value of a specific header in a HTTP request message. It takes a header name as an argument and returns an array of all the values associated with that header name. This function is useful for accessing and manipulating HTTP headers in PHP applications.
PHP Psr\Http\Message RequestInterface::getHeader - 26 examples found. These are the top rated real world PHP examples of Psr\Http\Message\RequestInterface::getHeader extracted from open source projects. You can rate examples to help us improve the quality of examples.