<?php  namespace App\Enums;  enum StatusGroup: int { 	case Order = 1;  	case Transport = 2;  	case Service = 3;  	case Reclamation = 4;  	public static function toArray(): array 	{ 		$array = [];  		foreach (self::cases() as $case) { 			$array[$case->value] = $case->name; 		}  		return $array; 	} }