You are here

public function HeaderBag::all in Zircon Profile 8

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

Returns the headers.

Return value

array An array of headers

File

vendor/symfony/http-foundation/HeaderBag.php, line 65

Class

HeaderBag
HeaderBag is a container for HTTP headers.

Namespace

Symfony\Component\HttpFoundation

Code

public function all() {
  return $this->headers;
}