phpvms/app/Http/Resources/AcarsLog.php

26 lines
526 B
PHP
Raw Normal View History

2018-01-05 09:33:47 +08:00
<?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 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,
];*/
}
}