File manager - Edit - /home/linknsbh/cecil-hotel.net/vendor/botble/api/src/Http/Resources/UserResource.php
Back
<?php namespace Botble\Api\Http\Resources; use Botble\ACL\Models\User; use Illuminate\Http\Resources\Json\JsonResource; /** * @mixin User */ class UserResource extends JsonResource { public function toArray($request): array { return [ 'id' => $this->id, 'first_name' => $this->first_name, 'last_name' => $this->last_name, 'email' => $this->email, 'phone' => $this->phone, 'avatar' => $this->avatar_url, 'dob' => $this->dob, 'gender' => $this->gender, 'description' => $this->description, ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 1.4 |
proxy
|
phpinfo
|
Settings