public function MessageTrait::getHeader in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-diactoros/src/MessageTrait.php \Zend\Diactoros\MessageTrait::getHeader()
- 8.0 vendor/guzzlehttp/psr7/src/MessageTrait.php \GuzzleHttp\Psr7\MessageTrait::getHeader()
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/src/MessageTrait.php \GuzzleHttp\Psr7\MessageTrait::getHeader()
1 call to MessageTrait::getHeader()
- MessageTrait::getHeaderLine in vendor/
guzzlehttp/ psr7/ src/ MessageTrait.php
File
- vendor/
guzzlehttp/ psr7/ src/ MessageTrait.php, line 49
Class
- MessageTrait
- Trait implementing functionality common to requests and responses.
Namespace
GuzzleHttp\Psr7Code
public function getHeader($header) {
$name = strtolower($header);
return isset($this->headers[$name]) ? $this->headers[$name] : [];
}