aedb1f22b6
* Don't allow cancels from certain states * Unused imports * Don't reset the state doubly * Move SetUserActive into listener; code cleanup * Unused imports * Add missing files into htaccess * Move Command contract to correct folder
19 lines
328 B
PHP
19 lines
328 B
PHP
<?php
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
use App\Contracts\Enum;
|
|
|
|
class AircraftState extends Enum
|
|
{
|
|
public const PARKED = 0;
|
|
public const IN_USE = 1;
|
|
public const IN_AIR = 2;
|
|
|
|
public static $labels = [
|
|
self::PARKED => 'On Ground',
|
|
self::IN_USE => 'In Use',
|
|
self::IN_AIR => 'In Air',
|
|
];
|
|
}
|