Replies: 1 comment
-
We won't allow PHP code within Twig templates for security reasons, but I'm not against the idea of allowing pure PHP templates. If we did, they should probably be interchangeable, so a PHP template could still extend a Twig template. Not sure if this would be overcomplicating it, but one option would be that we just let you define actual Twig template classes, complete with block methods, etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why can't we just have the option damn it!
Beta Was this translation helpful? Give feedback.
All reactions