initial
All checks were successful
linter / quality (push) Successful in 1m37s
tests / ci (8.4) (push) Successful in 2m13s
tests / ci (8.5) (push) Successful in 1m25s

This commit is contained in:
Tim Basten
2026-03-05 11:41:39 +08:00
commit 564f78dcda
182 changed files with 21145 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Enums;
enum JourneyMethod: string
{
case Air = 'Air';
case Bus = 'Bus';
case PersonalVehicle = 'PersonalVehicle';
case RcswaVehicle = 'RcswaVehicle';
case Train = 'Train';
public function label(): string
{
return match($this) {
self::Air => 'Air',
self::Bus => 'Bus',
self::PersonalVehicle => 'Personal Vehicle',
self::RcswaVehicle => 'RCSWA Vehicle',
self::Train => 'Train',
};
}
}