Files
Twig/doc/functions
Hugo Alliaume def4abbd5e Improve documentation examples for enum and enum_cases
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.
2025-09-12 18:14:50 +02:00
..
2024-09-28 09:57:08 +02:00
2024-09-28 09:57:08 +02:00
2024-08-30 20:43:06 +02:00
2025-03-30 09:51:16 +02:00
2024-09-27 08:23:21 +02:00
2024-09-28 09:57:08 +02:00
2024-09-28 09:57:08 +02:00
2024-09-28 09:57:08 +02:00
2024-09-28 09:57:08 +02:00