public function startMeasure($name, $label = null) { if ($this->hasCollector('time')) { /** @var \DebugBar\DataCollector\TimeDataCollector $collector */ $collector = $this->getCollector('time'); $collector->startMeasure($name, $label); } }