W3cubDocs

/Symfony 4.1

TwigLoaderPass

class TwigLoaderPass implements CompilerPassInterface

Adds services tagged twig.loader as Twig loaders.

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