25 lines
495 B
PHP
25 lines
495 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
|
|
*/
|
|
class AcarsLog extends Resource
|
|
{
|
|
public function toArray($request)
|
|
{
|
|
return parent::toArray($request);
|
|
/*return [
|
|
'id' => $this->id,
|
|
'name' => $this->name,
|
|
'log' => $this->log,
|
|
'lat' => $this->lat,
|
|
'lon' => $this->lon,
|
|
];*/
|
|
}
|
|
}
|