'Lundi', 2 => 'Mardi', 3 => 'Mercredi', 4 => 'Jeudi', 5 => 'Vendredi', 6 => 'Samedi', 7 => 'Dimanche' ]; return $daysOfWeekArray; } public static function getDayOfWeekStringByNumber(int $dayOfWeekNumber): string { $daysOfWeekArray = self::getDaysOfWeekArray(); return $daysOfWeekArray[$dayOfWeekNumber]; } }