FinishResponseSubscriber::$requestPolicy

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php \Drupal\Core\EventSubscriber\FinishResponseSubscriber::requestPolicy
  2. 10 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 43

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.