Le 23/10/2015 00:13, Nima Sadjadi a écrit :

Hi,
When ArrayCollection instance is not needed, I think doctrine will not call the constructor of entity class at all, is it right?


It does not call it when it hydrates an entity from the database. But when you instantiate an object yourselves (to create a new one), the constructor is called, and no Doctrine logic is called.

--
Christophe | Stof

--
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to