CacheContextsManager::$container
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php \Drupal\Core\Cache\Context\CacheContextsManager::container
- 8.9.x core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php \Drupal\Core\Cache\Context\CacheContextsManager::container
- 10 core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php \Drupal\Core\Cache\Context\CacheContextsManager::container
The service container.
Type: \Symfony\Component\DependencyInjection\ContainerInterface
File
-
core/
lib/ Drupal/ Core/ Cache/ Context/ CacheContextsManager.php, line 30
Class
- CacheContextsManager
- Converts cache context tokens into cache keys.
Namespace
Drupal\Core\Cache\ContextCode
protected $container;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.