$brand->getRouteKey(), 'key' => [ 'public' => $brand->getPublicKey(), 'route' => $brand->getRouteKey(), ], 'user_id' => $brand->user_id, 'user_type' => $brand->user_type, 'slug' => $brand->slug, 'name' => $brand->name, 'details' => $brand->details, 'logo' => $brand->logo, 'deleted_at' => $brand->deleted_at, 'url' => [ 'public' => trans_url('brand/'.$brand->getPublicKey()), 'user' => guard_url('brand/brand/'.$brand->getRouteKey()), ], 'status' => trans('app.'.$brand->status), 'created_at' => format_date($brand->created_at), 'updated_at' => format_date($brand->updated_at), ]; } }