public function addOpeningHour($day, $hours)
    {
        $openingHour = new OpeningHours($day, $hours);
        $this->openingHours[$day] = $openingHour;
    }
public function addOpeningHour($day, $hours)
    {
        $openingHour = new OpeningHours($day, $hours);
        $this->openingHours[$day] = $openingHour;
    }
public function addOpeningHour ( $ day , $ hours ) { $ openingHour = new OpeningHours ( $ day , $ hours ) ; $ this -> openingHours [ $ day ] = $ openingHour ; }
Adds an opening schedule for a day.

@param string $day Day
@param string $hours Opening hours of that day
Adds an opening schedule for a day .