48 public function updateState(array $rawCounters, array $types = [], array $logIds = []): void
50 if (empty($logIds) && empty($types))
54 foreach ($this as $k => $row)
58 && !in_array($row[
'SONET_LOG_ID'], $logIds)
66 && !in_array($row[
'TYPE'], $types)
71 unset($this->state[$k]);
73 foreach ($rawCounters as $k => $row)
77 unset($rawCounters[$k]);
81 $this->state = array_merge($this->state, $rawCounters);