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