2021-01-15 14:47:59 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Http\Resources;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Http\Resources\Json\ResourceCollection;
|
|
|
|
|
|
|
|
|
|
class DocumentsCollection extends ResourceCollection
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Transform the resource collection into an array.
|
|
|
|
|
*
|
2022-09-29 10:09:43 +02:00
|
|
|
* @param \Illuminate\Http\Request $request
|
2021-01-15 14:47:59 +01:00
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
public function toArray($request)
|
|
|
|
|
{
|
|
|
|
|
return parent::toArray($request);
|
|
|
|
|
}
|
|
|
|
|
}
|