public addThrowable ( Exception $e ) | ||
$e | Exception |
public function addThrowable($e)
{
if ($this->hasCollector('exceptions')) {
/** @var \DebugBar\DataCollector\ExceptionsCollector $collector */
$collector = $this->getCollector('exceptions');
$collector->addThrowable($e);
}
}
/** * Adds an exception to be profiled in the debug bar * * @param \Exception $e * @static */ public static function addThrowable($e) { return \Barryvdh\Debugbar\LaravelDebugbar::addThrowable($e); }