How to use Doctrine entities as Value Objects in zend_amf?
-
14-04-2021 - |
Frage
I use Doctrine in Zend framework and I would like to use existing Entity classes as Value Object.
The main obstacle I can see is how to deal with mappings. I don't want to lose information about associations.
Does anyone has some experience with that?
Lösung
You can use Mappers into the models folder like without Doctrine, but you are use a Entity.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow