Closed boscho87 closed 10 months ago
This is already supported for quite a while. Just make sure that in your entity configuration (https://www.doctrine-project.org/projects/doctrine-orm-module/en/5.3/user-guide.html#entities-settings) you are using Doctrine\ORM\Mapping\Driver\AttributeDriver
and not Doctrine\ORM\Mapping\Driver\AnnotationDriver
.
Feel free to provide a PR to update the documentation.
With PHP 8 we have attributes available, it will make sense to use this instead of annotaitons.