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