refactorings of pirep/acars api calls; separate field calls
This commit is contained in:
@@ -69,6 +69,11 @@ class Acars extends Model
|
||||
'pirep_id' => 'required',
|
||||
];
|
||||
|
||||
/*public static $sanitize = [
|
||||
'sim_time' => 'carbon',
|
||||
'created_at' => '',
|
||||
];*/
|
||||
|
||||
/**
|
||||
* Return a new Length unit so conversions can be made
|
||||
* @return int|Distance
|
||||
|
||||
@@ -133,6 +133,11 @@ class Pirep extends Model
|
||||
'route' => 'nullable',
|
||||
];
|
||||
|
||||
/*public static $sanitize = [
|
||||
'dpt_airport_id' => 'trim|uppercase',
|
||||
'arr_airport_id' => 'trim|uppercase',
|
||||
];*/
|
||||
|
||||
/**
|
||||
* Get the flight ident, e.,g JBU1900
|
||||
* @return string
|
||||
|
||||
Reference in New Issue
Block a user