$hasTimeline
$hasTimeline : boolean
Whether this collector has timeline data.
Collector for the Database tab of the Debug Toolbar.
getVarData() : null
Gets a collection of data that should be shown in the 'Vars' tab.
The format is an array of sections, each with their own array of key/value pairs:
$data = [ 'section 1' => [ 'foo' => 'bar, 'bar' => 'baz' ], 'section 2' => [ 'foo' => 'bar, 'bar' => 'baz' ], ];
icon() : string
Display the icon.
Icon from https://icons8.com - 1em package
formatTimelineData() : array
Returns timeline data formatted for the toolbar.
Timeline data should be formatted into arrays that look like:
[ 'name' => 'Database::Query', 'component' => 'Database', 'start' => 10 // milliseconds 'duration' => 15 // milliseconds ]
The formatted data or an empty array.
Loading…