startMeasure() публичный Метод

Starts a measure
public startMeasure ( string $name, string $label = null )
$name string Internal name, used to stop the measure
$label string Public name
Пример #1
0
 /**
  * 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);
 }
Пример #2
0
 /**
  * @param string $name
  * @param null $label
  */
 protected function startDebugMeasure($name, $label = null)
 {
     if ($this->debugBar) {
         $this->debugBar->startMeasure($name, $label);
     }
 }