StocksNew/stubs/nwidart-stubs/resource-collection.stub
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

18 lines
340 B
Plaintext

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