TwigEnvironmentPass

class TwigEnvironmentPass implements CompilerPassInterface

Adds tagged twig.extension services to twig service.

Methods

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Details

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container