phpvms/resources/stubs/modules/resource-collection.stub
2018-03-19 20:50:40 -05:00

24 lines
413 B
Plaintext

<?php
namespace $NAMESPACE$;
use Illuminate\Http\Resources\Json\ResourceCollection;
/**
* Class $CLASS$
* @package $NAMESPACE$
*/
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);
}
}