Separate out enums to static

This commit is contained in:
Nabeel Shahzad
2017-06-28 19:57:22 -05:00
parent 477b99de29
commit cd5f58b0a1
2 changed files with 25 additions and 7 deletions
+24
View 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,
];
}
+1 -7
View File
@@ -6,11 +6,5 @@ return [
* Pick one of: * Pick one of:
* dollar, euro, gbp, yen, jpy, rupee, ruble * dollar, euro, gbp, yen, jpy, rupee, ruble
*/ */
'currency' => 'dollar', 'currency' => env('PHPVMS_CURRENCY', 'dollar'),
'fuel_types' => [
'100LL' => 0,
'JETA' => 1,
'MOGAS' => 2,
],
]; ];