private function addDestination(Destination $destination) { $this->destinations[$destination->getName()] = $destination; }