$dataFormater
$dataFormater :
Collects info about exceptions
setDefaultDataFormatter(\DebugBar\DataFormatter\DataFormatterInterface $formater)
Sets the default data formater instance used by all collectors subclassing this class
\DebugBar\DataFormatter\DataFormatterInterface | $formater |
getDefaultDataFormatter() : \DebugBar\DataFormatter\DataFormatterInterface
Returns the default data formater
setDataFormatter(\DebugBar\DataFormatter\DataFormatterInterface $formater) : $this
Sets the data formater instance used by this collector
\DebugBar\DataFormatter\DataFormatterInterface | $formater |
getDataFormatter() : \DebugBar\DataFormatter\DataFormatterInterface
None found |
None found |
addException(\Exception $e)
Adds an exception to be profiled in the debug bar
\Exception | $e |
None found |
addThrowable(\Throwable $e)
Adds a Throwable to be profiled in the debug bar
\Throwable | $e |
None found |
setChainExceptions(boolean $chainExceptions = true)
Configure whether or not all chained exceptions should be shown.
boolean | $chainExceptions |
None found |
getExceptions() : \DebugBar\DataCollector\array[\Throwable]
Returns the list of exceptions being profiled
None found |
formatExceptionData(\Exception $e) : array
Returns exception data as an array
\Exception | $e |
None found |