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