ExceptionListenerPass

class ExceptionListenerPass implements CompilerPassInterface

Registers the Twig exception listener if Twig is registered as a templating engine.

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