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