function VariationCacheFactory::__construct

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Cache/VariationCacheFactory.php \Drupal\Core\Cache\VariationCacheFactory::__construct()

Constructs a new VariationCacheFactory object.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.

\Drupal\Core\Cache\CacheFactoryInterface $cacheFactory: The cache factory.

\Drupal\Core\Cache\Context\CacheContextsManager $cacheContextsManager: The cache contexts manager.

File

core/lib/Drupal/Core/Cache/VariationCacheFactory.php, line 32

Class

VariationCacheFactory
Defines the variation cache factory.

Namespace

Drupal\Core\Cache

Code

public function __construct(RequestStack $requestStack, CacheFactoryInterface $cacheFactory, CacheContextsManager $cacheContextsManager) {
}

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