$hasTimeline
$hasTimeline : boolean
Whether this collector has data that can be displayed in the Timeline.
Loags collector
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
Child classes should implement this to return the timeline data formatted for correct usage.
Timeline data should be formatted into arrays that look like:
[ 'name' => 'Database::Query', 'component' => 'Database', 'start' => 10 // milliseconds 'duration' => 15 // milliseconds ]
Loading…