SessionExistsCacheContext::$requestStack

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php \Drupal\Core\Cache\Context\SessionExistsCacheContext::requestStack
  2. 10 core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php \Drupal\Core\Cache\Context\SessionExistsCacheContext::requestStack
  3. 11.x core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php \Drupal\Core\Cache\Context\SessionExistsCacheContext::requestStack

The request stack.

Type: \Symfony\Component\HttpFoundation\RequestStack

File

core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php, line 28

Class

SessionExistsCacheContext
Defines the SessionExistsCacheContext service, for "session or not" caching.

Namespace

Drupal\Core\Cache\Context

Code

protected $requestStack;

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