name = $name; $this->groups = new ArrayCollection; } /** * @return integer */ public function getId() { return $this->id; } /** * @return string */ public function getName() { return $this->name; } /** * @param string $name */ public function setName($name) { $this->name = $name; } /** * @param DDC964Group $group */ public function addGroup(DDC964Group $group) { $this->groups->add($group); $group->addUser($this); } /** * @return ArrayCollection */ public function getGroups() { return $this->groups; } /** * @return DDC964Address */ public function getAddress() { return $this->address; } /** * @param DDC964Address $address */ public function setAddress(DDC964Address $address) { $this->address = $address; } }