public function __construct() { $this->contacts = new \Doctrine\Common\Collections\ArrayCollection(); $this->accounts = new \Doctrine\Common\Collections\ArrayCollection(); }