芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/app/Http/Resources/WarehouseResource.php
<?php namespace App\Http\Resources; use Google\Service\Analytics\UserRef; use Illuminate\Http\Resources\Json\JsonResource; class WarehouseResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializable */ public function toArray($request) { return [ 'id' => $this->id, 'name' => $this->name, 'email' => $this->email, 'incharge' => new StaffLightResource($this->manager), 'description' => $this->description, 'pickup_instruction' => $this->pickup_instruction, 'opening_time' => $this->opening_time, 'closing_time' => $this->close_time, 'business_days' => $this->business_days, 'primary_address' => new AddressResource($this->primaryAddress), 'manager' => $this->manager, 'active' => (bool) $this->active, 'image' => get_storage_file_url($this->image), ]; } }
Page is not found
Oops! Page not found.
Sorry, an error has occured, Requested page not found!
Back To Homepage