FinishResponseSubscriber::$requestPolicy

Same name in other branches
  1. 9 core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php \Drupal\Core\EventSubscriber\FinishResponseSubscriber::requestPolicy
  2. 8.9.x core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php \Drupal\Core\EventSubscriber\FinishResponseSubscriber::requestPolicy

A policy rule determining the cacheability of a request.

Type: \Drupal\Core\PageCache\RequestPolicyInterface

File

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

Class

FinishResponseSubscriber
Response subscriber to handle finished responses.

Namespace

Drupal\Core\EventSubscriber

Code

protected $requestPolicy;

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