some initial backend scaffolding
This commit is contained in:
parent
c12d47b749
commit
48f8459b58
21 changed files with 1991 additions and 321 deletions
19
app/Http/Resources/AllSearchResource.php
Normal file
19
app/Http/Resources/AllSearchResource.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Resources;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
|
||||
class AllSearchResource extends JsonResource
|
||||
{
|
||||
/**
|
||||
* Transform the resource into an array.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function toArray(Request $request): array
|
||||
{
|
||||
return parent::toArray($request);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue