28 lines
551 B
PHP
28 lines
551 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Enums for PIREP statuses
|
||
|
*/
|
||
|
|
||
|
namespace App\Models\Enums;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Tied to the ACARS statuses/states
|
||
|
* Class PirepStatus
|
||
|
* @package App\Models\Enums
|
||
|
*/
|
||
|
class PirepStatus extends EnumBase
|
||
|
{
|
||
|
const PREFILE = 0;
|
||
|
const SCHEDULED = 0;
|
||
|
const ENROUTE = 1;
|
||
|
const ARRIVED = 2;
|
||
|
|
||
|
protected static $labels = [
|
||
|
PirepStatus::PREFILE => 'Prefiled',
|
||
|
PirepStatus::SCHEDULED => 'Scheduled',
|
||
|
PirepStatus::ENROUTE => 'Enroute',
|
||
|
PirepStatus::ARRIVED => 'Arrived',
|
||
|
];
|
||
|
}
|