Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
26 | public function process(ContainerBuilder $container) |
||
27 | { |
||
28 | $lifetimeStrategyDefinition = $this->getDefinitionIfExists($container, 'twig_cache.strategy.lifetime'); |
||
29 | $lifetimeStrategyDefinition->setClass(LifetimeCacheStrategy::class); |
||
30 | $lifetimeStrategyDefinition->addArgument(new Reference('swp_multi_tenancy.tenant_context')); |
||
31 | } |
||
32 | } |
||
33 |