$brands->getRouteKey(), 'key' => [ 'public' => $brands->getPublicKey(), 'route' => $brands->getRouteKey(), ], 'id' => $brands->id, 'name' => $brands->name, 'title_h1' => $brands->title_h1, 'title_h2' => $brands->title_h2, 'search_for' => $brands->search_for, 'alias' => $brands->alias, 'page_title' => $brands->page_title, 'alt_text' => $brands->alt_text, 'description' => $brands->description, 'embed_code' => $brands->embed_code, 'meta_title_brand' => $brands->meta_title_brand, 'meta_keywords_brand' => $brands->meta_keywords_brand, 'meta_description_brand' => $brands->meta_description_brand, 'discount_carton' => $brands->discount_carton, 'brand_discount' => $brands->brand_discount, 'discount_type' => $brands->discount_type, 'expiry_date' => $brands->expiry_date, 'delivery_surcharge' => $brands->delivery_surcharge, 'surcharge_value' => $brands->surcharge_value, 'surcharge_minprod' => $brands->surcharge_minprod, 'url' => [ 'public' => trans_url('brand/'.$brands->getPublicKey()), 'user' => guard_url('brand/brands/'.$brands->getRouteKey()), ], 'status' => trans('app.'.$brands->status), 'created_at' => format_date($brands->created_at), 'updated_at' => format_date($brands->updated_at), ]; } }