Starts a measure
public startMeasure ( string $name, string $label = null ) | ||
$name | string | Internal name, used to stop the measure |
$label | string | Public name |
/** * Starts a measure * * @param string $name Internal name, used to stop the measure * @param string $label Public name * @static */ public static function startMeasure($name, $label = null) { return \Barryvdh\Debugbar\LaravelDebugbar::startMeasure($name, $label); }
/** * @param string $name * @param null $label */ protected function startDebugMeasure($name, $label = null) { if ($this->debugBar) { $this->debugBar->startMeasure($name, $label); } }