FinishResponseSubscriber::$responsePolicy

Same name in other branches
  1. 9 core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php \Drupal\Core\EventSubscriber\FinishResponseSubscriber::responsePolicy
  2. 10 core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php \Drupal\Core\EventSubscriber\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 50

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.