$groupbusqueries->getRouteKey(), 'key' => [ 'public' => $groupbusqueries->getPublicKey(), 'route' => $groupbusqueries->getRouteKey(), ], 'first_name' => $groupbusqueries->first_name, 'last_name' => $groupbusqueries->last_name, 'email' => $groupbusqueries->email, 'mobile' => $groupbusqueries->mobile, 'address_1' => $groupbusqueries->address_1, 'address_2' => $groupbusqueries->address_2, 'no_of_traveller' => $groupbusqueries->no_of_traveller, 'source' => $groupbusqueries->source, 'destination' => $groupbusqueries->destination, 'journey_date' => $groupbusqueries->journey_date, 'url' => [ 'public' => trans_url('groupbusquery/'.$groupbusqueries->getPublicKey()), 'user' => guard_url('groupbusquery/groupbusqueries/'.$groupbusqueries->getRouteKey()), ], 'status' => trans('app.'.$groupbusqueries->status), 'created_at' => format_date($groupbusqueries->created_at), 'updated_at' => format_date($groupbusqueries->updated_at), ]; } }