Overrides MetricReaderInterface::forceFlush
public function forceFlush() : bool { if ($this->closed) { return false; } if ($this->exporter instanceof PushMetricExporterInterface) { $collect = $this->doCollect(); $forceFlush = $this->exporter ->forceFlush(); return $collect && $forceFlush; } return true; }