Properties

$dataFormater

$dataFormater : 

Type

$exceptions

$exceptions : 

Type

$chainExceptions

$chainExceptions : 

Type

$defaultDataFormatter

$defaultDataFormatter : 

Type

Methods

setDefaultDataFormatter()

setDefaultDataFormatter(\DebugBar\DataFormatter\DataFormatterInterface  $formater) 

Sets the default data formater instance used by all collectors subclassing this class

Parameters

\DebugBar\DataFormatter\DataFormatterInterface $formater

getDataFormatter()

getDataFormatter() 

formatVar()

formatVar(  $var) 

Parameters

$var

formatDuration()

formatDuration(  $seconds) 

Parameters

$seconds

formatBytes()

formatBytes(  $size,   $precision = 2) 

Parameters

$size
$precision

addException()

addException(\Exception  $e) 

Adds an exception to be profiled in the debug bar

Parameters

\Exception $e

setChainExceptions()

setChainExceptions(boolean  $chainExceptions = true) 

Configure whether or not all chained exceptions should be shown.

Parameters

boolean $chainExceptions

getExceptions()

getExceptions() : \DebugBar\DataCollector\array[Exception]

Returns the list of exceptions being profiled

Returns

\DebugBar\DataCollector\array[Exception]

collect()

collect() 

formatExceptionData()

formatExceptionData(\Exception  $e) : array

Returns exception data as an array

Parameters

\Exception $e

Returns

array

getName()

getName() 

getWidgets()

getWidgets() : array

Returns a hash where keys are control names and their values an array of options as defined in {@see DebugBar\JavascriptRenderer::addControl()}

Returns

array