Closed
Description
Hi.
I am developing an app that needs twig bundle to render some templates for infrastructure implementation (sending emails) and twig must be registered as templating engine (because 3rd party code depends on that), but I don't need Twig exception listener.
Current configuration doesn't allow me to disable that.
I would like to pass null
in twig.exception_controller
to disable that feature. Now I need to remove definition in compiler pass.
Of course I will prepare a PR.
WDYT?