Пример #1
0
 protected function getWeekDays()
 {
     return ['Monday' => WeekDay::MONDAY(), 'Wednesday' => WeekDay::WEDNESDAY(), 'Friday' => WeekDay::FRIDAY(), 'Tuesday' => WeekDay::TUESDAY(), 'Thursday' => WeekDay::THURSDAY(), 'Saturday' => WeekDay::SATURDAY(), 'Sunday' => WeekDay::SUNDAY()];
 }
Пример #2
0
 protected function getWeekDays()
 {
     return [WeekDay::MONDAY(), WeekDay::WEDNESDAY(), WeekDay::FRIDAY(), WeekDay::TUESDAY(), WeekDay::THURSDAY(), WeekDay::SATURDAY(), WeekDay::SUNDAY()];
 }
Пример #3
0
 public function test_that_to_string_returns_expected_string()
 {
     $this->assertSame('WeekDay.WEDNESDAY', WeekDay::WEDNESDAY()->toString());
 }