offers??null; } public function setOffers(Demand|Offer|array $offers):void { if (is_array($offers)) { $offers = $this->mixedArray('offers', $offers,[ 'JVBase\managers\SEO\render\Thing\Intangible\Demand', 'JVBase\managers\SEO\render\Thing\Intangible\Offer' ]); } $this->offers = $offers; } public function getOpeningHoursFieldConfig():array { return [ 'type' => 'repeater', 'label' => 'Opening Hours', 'fields' => [ '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', ] ] ]; } }