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