Closed
Description
Currently, the documentation is composed of a mix between annotations and attributes in the different code examples.
For example, the Mercure documentation uses Doctrine attributes while the Serializer documentation use Annotations.
Same goes for the Controller documentation and the Mailer documentation with the Route
annotation/attribute!
The support for annotation has been recently dropped in the maker bundle for Entities and the Route
attribute is already use when generating Controller,
So, in order to be consistent everywhere, wouldn't it be interesting to replace annotations with attributes when possible?