File manager - Edit - /var/www/html/ciosp/api/app/Http/Resources/NotificationTermResource.php
Back
<?php namespace App\Http\Resources; use App\Models\Article; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; class NotificationTermResource 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_id, 'photo' => $this->photo, 'signature' => $this->signature, 'description' => $this->description, 'scaped' => $this->scaped ? true : false ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings