public function addAddress(CustomerAddress $address) { $this->addresses[$address->getID()] = $address; return $this; }