You are here

public function ResponseHeaderBag::allPreserveCase in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/ResponseHeaderBag.php \Symfony\Component\HttpFoundation\ResponseHeaderBag::allPreserveCase()

Returns the headers, with original capitalizations.

Return value

array An array of headers

File

vendor/symfony/http-foundation/ResponseHeaderBag.php, line 76

Class

ResponseHeaderBag
ResponseHeaderBag is a container for Response HTTP headers.

Namespace

Symfony\Component\HttpFoundation

Code

public function allPreserveCase() {
  return array_combine($this->headerNames, $this->headers);
}