20 lines
333 B
Plaintext
20 lines
333 B
Plaintext
|
<?php
|
||
|
|
||
|
namespace $NAMESPACE$;
|
||
|
|
||
|
use Illuminate\Http\Resources\Json\Resource;
|
||
|
|
||
|
class $CLASS$ extends Resource
|
||
|
{
|
||
|
/**
|
||
|
* Transform the resource into an array.
|
||
|
*
|
||
|
* @param \Illuminate\Http\Request
|
||
|
* @return array
|
||
|
*/
|
||
|
public function toArray($request)
|
||
|
{
|
||
|
return parent::toArray($request);
|
||
|
}
|
||
|
}
|