Separate out enums to static
This commit is contained in:
parent
477b99de29
commit
cd5f58b0a1
24
config/enums.php
Normal file
24
config/enums.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
class VMSEnums
|
||||
{
|
||||
public static $sources
|
||||
= [
|
||||
'ACARS' => 0,
|
||||
'MANUAL' => 1,
|
||||
];
|
||||
|
||||
public static $pirep_status
|
||||
= [
|
||||
'PENDING' => 0,
|
||||
'ACCEPTED' => 1,
|
||||
'REJECTED' => -1,
|
||||
];
|
||||
|
||||
public static $fuel_types
|
||||
= [
|
||||
'100LL' => 0,
|
||||
'JETA' => 1,
|
||||
'MOGAS' => 2,
|
||||
];
|
||||
}
|
@ -6,11 +6,5 @@ return [
|
||||
* Pick one of:
|
||||
* dollar, euro, gbp, yen, jpy, rupee, ruble
|
||||
*/
|
||||
'currency' => 'dollar',
|
||||
|
||||
'fuel_types' => [
|
||||
'100LL' => 0,
|
||||
'JETA' => 1,
|
||||
'MOGAS' => 2,
|
||||
],
|
||||
'currency' => env('PHPVMS_CURRENCY', 'dollar'),
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user