$manufacturer->getRouteKey(), 'key' => [ 'public' => $manufacturer->getPublicKey(), 'route' => $manufacturer->getRouteKey(), ], 'id' => $manufacturer->id, 'name' => $manufacturer->name, 'description' => $manufacturer->description, 'image' => $manufacturer->image, 'count' => $manufacturer->count, 'slug' => $manufacturer->slug, 'status' => $manufacturer->status, 'deleted_at' => $manufacturer->deleted_at, 'updated_at' => $manufacturer->updated_at, 'created_at' => $manufacturer->created_at, 'url' => [ 'public' => trans_url('auto/'.$manufacturer->getPublicKey()), 'user' => guard_url('auto/manufacturer/'.$manufacturer->getRouteKey()), ], 'status' => trans('app.'.$manufacturer->status), 'created_at' => format_date($manufacturer->created_at), 'updated_at' => format_date($manufacturer->updated_at), ]; } }