File manager - Edit - /var/www/html/ciosp/api/app/Http/Resources/SeizureTermResource.php
Back
<?php namespace App\Http\Resources; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; class SeizureTermResource extends JsonResource { /** * Transform the resource into an array. * * @param Request $request * @return array */ public function toArray($request) { return [ "id"=> $this->id, "name" => $this->name, 'doc' => $this->doc, 'general_register' => $this->general_register, 'address' => $this->address, 'complement' => $this->complement, 'zipcode' => $this->zipcode, 'hour' => $this->hour, 'date' => $this->date, 'article' => $this->article, 'infraction_notice_id' => 'uuid', 'photo' => $this->photo, 'description' => $this->description, ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings