/** * @param Court $court The court object to add. */ protected function doAddCourt($court) { $this->collCourts[] = $court; $court->setCorporation($this); }