You are here

public function MessageTrait::hasHeader in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-diactoros/src/MessageTrait.php \Zend\Diactoros\MessageTrait::hasHeader()
  2. 8 vendor/guzzlehttp/psr7/src/MessageTrait.php \GuzzleHttp\Psr7\MessageTrait::hasHeader()
Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/MessageTrait.php \GuzzleHttp\Psr7\MessageTrait::hasHeader()
3 calls to MessageTrait::hasHeader()
MessageTrait::withAddedHeader in vendor/guzzlehttp/psr7/src/MessageTrait.php
MessageTrait::withoutHeader in vendor/guzzlehttp/psr7/src/MessageTrait.php
Request::__construct in vendor/guzzlehttp/psr7/src/Request.php

File

vendor/guzzlehttp/psr7/src/MessageTrait.php, line 44

Class

MessageTrait
Trait implementing functionality common to requests and responses.

Namespace

GuzzleHttp\Psr7

Code

public function hasHeader($header) {
  return isset($this->headers[strtolower($header)]);
}