Artem Henvald

Results 34 comments of Artem Henvald

@SirMishaa Hi. Maybe this article could help you https://www.doctrine-project.org/2022/01/11/orm-2.11.html The approach is different, now Doctrine supports native PHP enums out of box

@hackzilla thanks for advice, I'll consider this πŸ‘

@craigh do you get some error? if yes, then please write it here and also show me your form type.

It's not possible to use form guesser for DTOs now. Because ```php class EnumTypeGuesser extends DoctrineOrmTypeGuesser ``` Enum Guesser extends Doctrine ORM Guesser, so it expects the mapped entity. To...