public function getWeekdayText() { $options = $this->weekdayOptions; return isset($options[$this->weekday]) ? $options[$this->weekday] : 'None'; }