akaunting/app/Console/Stubs/Modules/resource-collection.stub

20 lines
364 B
Plaintext
Raw Permalink Normal View History

2019-11-16 10:21:14 +03:00
<?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);
}
}