Файловый менеджер - Редактировать - /home/clickysoft/public_html/charliapp-v2.clickysoft.net/app/Http/Resources/Admin/SeriesDetailResource.php
Назад
<?php namespace App\Http\Resources\Admin; use Illuminate\Http\Resources\Json\JsonResource; class SeriesDetailResource extends JsonResource { public function toArray($request) { // return parent::toArray($request); return [ 'id' => $this->id, 'series_name' => $this->series_name, 'is_finished' => $this->is_finished, 'image_id' => $this->image_id, 'image_url' => $this->image ? $this->image->image_url : NULL, 'created_at' => (new \Carbon\Carbon($this->created_at))->format('F d, Y'), 'updated_at' => (new \Carbon\Carbon($this->updated_at))->format('F d, Y'), 'color_id' => $this->color->id, 'color' => $this->color->color, 'color_code' => $this->color->color_code, 'foreground_color' => $this->color->foreground_color, 'books' => $this->seriesBooks, 'comments' => $this->comments ?? [], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка