芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/vendor/barryvdh/laravel-debugbar/src/helpers.php
addMessage($value, 'debug'); } } } if (!function_exists('start_measure')) { /** * Starts a measure * * @param string $name Internal name, used to stop the measure * @param string $label Public name */ function start_measure($name, $label = null) { debugbar()->startMeasure($name, $label); } } if (!function_exists('stop_measure')) { /** * Stop a measure * * @param string $name Internal name, used to stop the measure */ function stop_measure($name) { debugbar()->stopMeasure($name); } } if (!function_exists('add_measure')) { /** * Adds a measure * * @param string $label * @param float $start * @param float $end */ function add_measure($label, $start, $end) { debugbar()->addMeasure($label, $start, $end); } } if (!function_exists('measure')) { /** * Utility function to measure the execution of a Closure * * @param string $label * @param \Closure $closure * @return mixed */ function measure($label, \Closure $closure) { return debugbar()->measure($label, $closure); } }