zendframework / zend-expressive-twigrenderer

Twig integration for Expressive
BSD 3-Clause "New" or "Revised" License
25 stars 14 forks source link

enable 'strict_variables' through config files #55

Closed bernard-ng closed 5 years ago

bernard-ng commented 5 years ago

Would it be possible to activate the mode 'strict_variables' in the TwigEnvironmentFactory via the configuration? rather than according to the development mode

michalbundyra commented 5 years ago

@bernard-ng Can you submit PR with this additional configuration option, please? Please remember to add unit tests. Thanks !

bernard-ng commented 5 years ago

56