27 lines
575 B
PHP
27 lines
575 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Resources;
|
||
|
|
||
|
use Illuminate\Http\Resources\Json\Resource;
|
||
|
|
||
|
/**
|
||
|
* ACARS table but only include the fields for the routes
|
||
|
* Class AcarsRoute
|
||
|
* @package App\Http\Resources
|
||
|
*/
|
||
|
class AcarsRoute extends Resource
|
||
|
{
|
||
|
public function toArray($request)
|
||
|
{
|
||
|
return parent::toArray($request);
|
||
|
/*return [
|
||
|
'id' => $this->id,
|
||
|
'name' => $this->name,
|
||
|
'order' => $this->order,
|
||
|
'nav_type' => $this->nav_type,
|
||
|
'lat' => $this->lat,
|
||
|
'lon' => $this->lon,
|
||
|
];*/
|
||
|
}
|
||
|
}
|