The `hasHeader` method is a part of the PHP Guzzle Http\Message\RequestInterface. This method is used to determine whether a specific header exists in the HTTP request. It takes a header name as an argument and returns a boolean value indicating whether the header is present in the request or not. This method is useful for checking the presence of specific headers before performing any related actions or validations on them.
PHP Guzzle\Http\Message RequestInterface::hasHeader - 28 examples found. These are the top rated real world PHP examples of Guzzle\Http\Message\RequestInterface::hasHeader extracted from open source projects. You can rate examples to help us improve the quality of examples.