You are here

protected property DynamicPageCacheSubscriber::$responsePolicy in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php \Drupal\dynamic_page_cache\EventSubscriber\DynamicPageCacheSubscriber::responsePolicy

A response policy rule determining the cacheability of the response.

Type: \Drupal\Core\PageCache\ResponsePolicyInterface

File

core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php, line 54

Class

DynamicPageCacheSubscriber
Returns cached responses as early and avoiding as much work as possible.

Namespace

Drupal\dynamic_page_cache\EventSubscriber

Code

protected $responsePolicy;