measure() public method

Utility function to measure the execution of a Closure
public measure ( string $label, Closure $closure )
$label string
$closure Closure
コード例 #1
0
 /**
  * Utility function to measure the execution of a Closure
  *
  * @param string $label
  * @param \Closure $closure
  * @static 
  */
 public static function measure($label, $closure)
 {
     return \Barryvdh\Debugbar\LaravelDebugbar::measure($label, $closure);
 }