public function addDay(Day $day) { $dayNumber = $day->getDate()->format('d'); $this->days[$dayNumber] = $day; }