PATH:
home
/
lab2454c
/
costbloc.com
/
app
/
Http
/
Resources
/
Order
<?php namespace App\Http\Resources\Order; use Illuminate\Http\Resources\Json\JsonResource; class VendorResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request = []) { return [ 'id' => $this->id, 'email' => $this->email, 'phone' => $this->phone, 'formal_name' => $this->formal_name, 'shop' => new ShopResource($this->shop), 'status' => $this->status, ]; } }
[-] RefundResource.php
[edit]
[-] ShopResource.php
[edit]
[+]
..
[-] StatusHistoryResource.php
[edit]
[-] ShippingResource.php
[edit]
[-] OrderResource.php
[edit]
[-] TaxResource.php
[edit]
[-] ShippingAddressResource.php
[edit]
[-] VendorResource.php
[edit]
[-] ProductResource.php
[edit]
[-] BillingAddressResource.php
[edit]
[-] CouponResource.php
[edit]
[-] PaymentResource.php
[edit]