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