mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-03 14:07:34 +00:00
def4abbd5e
It may be obvious, but I first thought initializing an BackendEnum with a certain value could be possible with `enum(FQCN, value)`, but it does not, it always returns the first case instance (if exists). Instead, `enum(FQCN).from(value)` must be used, I think it's worth to improve `enum()` examples.