phpvms/resources/modules/stubs/resource-collection.stub
2017-12-01 14:34:37 -06:00

20 lines
364 B
Plaintext

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