class CacheContextsPass implements CompilerPassInterface (View source)

Adds cache_contexts parameter to the container.

Methods

process(ContainerBuilder $container)

Implements CompilerPassInterface::process().

Details

process(ContainerBuilder $container)

Implements CompilerPassInterface::process().

Collects the cache contexts into the cache_contexts parameter.

Parameters

ContainerBuilder $container