/** * Update extra time allowed for the delivery execution */ private function updateExtraTime() { $timer = DeliveryHelper::getDeliveryTimer($this->deliveryExecution); $this->addValue(DeliveryMonitoringService::EXTRA_TIME, $timer->getExtraTime(), true); $this->addValue(DeliveryMonitoringService::CONSUMED_EXTRA_TIME, $timer->getConsumedExtraTime(), true); }