Closed MoritzLost closed 1 year ago
The example code in the documentation is incorrect. It uses amteich.twig.extension as the option key for registering extensions, but the Environment class actually looks for an option amteich.twig.env.extensions.
amteich.twig.extension
Environment
amteich.twig.env.extensions
That's right. Sry. Thank you for the PR.
@seehat Great, thanks for merging! 🚀
The example code in the documentation is incorrect. It uses
amteich.twig.extension
as the option key for registering extensions, but theEnvironment
class actually looks for an optionamteich.twig.env.extensions
.