2017-12-14 12:24:41 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace $NAMESPACE$;
|
|
|
|
|
2020-05-16 06:20:16 +08:00
|
|
|
use App\Contracts\Resource;
|
2017-12-14 12:24:41 +08:00
|
|
|
|
2018-03-20 09:50:40 +08:00
|
|
|
/**
|
|
|
|
* Class $CLASS$
|
|
|
|
* @package $NAMESPACE$
|
|
|
|
*/
|
2017-12-14 12:24:41 +08:00
|
|
|
class $CLASS$ extends Resource
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Transform the resource into an array.
|
|
|
|
*
|
|
|
|
* @param \Illuminate\Http\Request
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function toArray($request)
|
|
|
|
{
|
|
|
|
return parent::toArray($request);
|
|
|
|
}
|
|
|
|
}
|