I can not see where it solves the problem

Em terça-feira, 17 de fevereiro de 2015 01:21:18 UTC-2, Matthew Stuart 
escreveu:
>
> Were you at any time persisting the new address btw? 
> What’s the code for getAdress look like? 
>
> Try: 
>
>     public function setAddress($address) { 
>         if (!($address instanceof \User\Entity\Address) && null != 
> $address): 
>             throw new \InvalidArgumentException('Typo de variável não 
> corresponde ao esperado. Esperado:\User\Entity\Address.', 10601); 
>         endif; 
>
>         $this->addresses->add($address); 
>         return $this; 
>     }

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