It's always helpful to see your code, pure integration lines don't give us 
an idea of what's going on in the background and able to provide targeted 
help.

Some things top of my head, sounds like a OneToMany relationship (due to 
the count) between User -> Address but the {{setAddress}} function naming 
sounds "singular":
* The user {{__construct}} isn't initializing the addresses internal 
variable to an {{ArrayCollection}}
* The {{setAddress}} function isn't adding to the internal {{addresses}} 
collection
* The {{getAddress}} function is doing something beyond standard..

-- 
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