FinishResponseSubscriber::$responsePolicy

A policy rule determining the cacheability of the response.

Type: \Drupal\Core\PageCache\ResponsePolicyInterface

File

core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php, line 51

Class

FinishResponseSubscriber
Response subscriber to handle finished responses.

Namespace

Drupal\Core\EventSubscriber

Code

protected $responsePolicy;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.