private function Store::persistRequest

Persists the Request HTTP headers.

Parameters

Request $request A Request instance:

Return value

array An array of HTTP headers

1 call to Store::persistRequest()
Store::write in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/Store.php
Writes a cache entry to the store for the given Request and Response.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/Store.php, line 366

Class

Store
Store implements all the logic for storing cache metadata (Request and Response headers).

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

private function persistRequest(Request $request) {
  return $request->headers
    ->all();
}