Replies: 1 comment
-
Agree that would be awesome :) |
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
-
With the introduction of enums in PHP 8.1 we could actually go all the way to native enum support in the future.
For example you could integrate a
Section
,GlobalSet
,Category
and so on enum and create dynamic classes on the fly, when those datatypes are changed.All functions could then be called via
or in twig
Beta Was this translation helpful? Give feedback.
All reactions