PATH:
home
/
lab2454c
/
costbloc.com
/
app
/
Http
/
Resources
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class AjaxCurrencyResource 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, 'text' => $this->name ]; } }
[-] CurrencyResource.php
[edit]
[-] TopSellerResource.php
[edit]
[-] CategoryResource.php
[edit]
[-] BrandResource.php
[edit]
[+]
..
[-] VendorDetailResource.php
[edit]
[-] CategoryDetailResource.php
[edit]
[-] AjaxCurrencyResource.php
[edit]
[-] ProductReviewResource.php
[edit]
[-] ProductFilterResource.php
[edit]
[-] VariationResource.php
[edit]
[-] WalletResource.php
[edit]
[-] RecentSearchResource.php
[edit]
[-] AttributeGroupDetailResource.php
[edit]
[-] UserAddressesResource.php
[edit]
[-] MailTemplateResource.php
[edit]
[-] RoleDetailResource.php
[edit]
[-] OrderStatusResource.php
[edit]
[-] userDetailResource.php
[edit]
[-] BrandDetailResource.php
[edit]
[-] VendorResource.php
[edit]
[-] AttributeResource.php
[edit]
[-] TagResource.php
[edit]
[-] AttributeDetailResource.php
[edit]
[-] CurrencyDetailResource.php
[edit]
[-] AjaxSelectSearchResource.php
[edit]
[-] UserResource.php
[edit]
[-] MailTemplateDetailResource.php
[edit]
[+]
Order
[-] ProductResource.php
[edit]
[-] RelatedProductResource.php
[edit]
[-] ProductDetailResource.php
[edit]
[-] WishlistResource.php
[edit]
[-] AttributeGroupResource.php
[edit]
[-] ReviewResource.php
[edit]
[-] RoleResource.php
[edit]