specialOpeningHours??null; } public function setSpecialOpeningHours(OpeningHoursSpecification $specialOpeningHours):void { $this->specialOpeningHours = $specialOpeningHours; } public function getSpecialOpeningHoursFieldConfig():array { return [ 'type' => 'repeater', 'label' => 'Special Opening Hours', 'fields' => [ 'closed' => [ 'type' => 'true_false', 'label' => 'Is closed', ], 'dayOfWeek' => [ 'type' => 'radio', 'label' => 'Day(s) of Week', 'options' => [ 'Mo' => 'Monday', 'Tu' => 'Tuesday', 'We' => 'Wednesday', 'Th' => 'Thursday', 'Fr' => 'Friday', 'Sa' => 'Saturday', 'Su' => 'Sunday' ] ], 'opens' => [ 'type' => 'time', 'label' => 'Opens At', ], 'closes' => [ 'type' => 'time', 'label' => 'Closes At', ], ], 'hint' => 'Special opening hours that override existing hours.' ]; } }