77 shaares
2 résultats
taggé
doctrine
Configure you entities and repository to have a SOLID structure.
Offers a cleaner code, possibility to assign multiple repos to an entity, and use repos as services.
Symfony & Doctrine : The serializer
Explains how to create a Normalizer for the symfony serializer, which maps the id given as value for a relationnal propretity of an object to the desired object in the DB.