time_open = new DateTime(); $this->time_close = new DateTime(); } public function getID() { return $this->id; } public function setName($name) { $this->name = $name; return $this; } public function getName() { return $this->name; } public function setAddress($address) { $this->address = $address; return $this; } public function getAddress() { return $this->address; } public function setCoordinates(Point $point) { $this->coordinates = $point; return $this; } public function getCoordinates() { return $this->coordinates; } public function setContactNumbers($nums) { $this->contact_nums = $nums; return $this; } public function getContactNumbers() { return $this->contact_nums; } public function setTimeOpen(DateTime $time_open) { $this->time_open = $time_open; return $this; } public function getTimeOpen() { return $this->time_open; } public function setTimeClose(DateTime $time_close) { $this->time_close = $time_close; return $this; } public function getTimeClose() { return $this->time_close; } public function setHub(Hub $hub) { $this->hub = $hub; return $this; } public function getHub() { return $this->hub; } public function clearHub() { $this->hub = null; return $this; } }