$banner->getRouteKey(), 'key' => [ 'public' => $banner->getPublicKey(), 'route' => $banner->getRouteKey(), ], 'image' => $banner->image, 'status' => $banner->status, 'url' => [ 'public' => trans_url('banner/'.$banner->getPublicKey()), 'user' => guard_url('banner/banner/'.$banner->getRouteKey()), ], 'status' => trans('app.'.$banner->status), 'created_at' => format_date($banner->created_at), 'updated_at' => format_date($banner->updated_at), ]; } }