Toolbar.php
system/Debug/Toolbar.php
1 class
12 methods
class Toolbar
Displays a toolbar with bits of stats to aid a developer in debugging. Inspiration: http://prophiler.fabfuel.de
__construct
(ToolbarConfig $config)
run
(float $startTime, float $totalTime, RequestInterface $request, ResponseInterface $response)
renderTimeline
(array $collectors, float $startTime, int $segmentCount, int $segmentDuration, array &$styles)
renderTimelineRecursive
(array $rows, float $startTime, int $segmentCount, int $segmentDuration, array &$styles, int &$styleCount, int $level = 0, bool $isChild = false)
collectTimelineData
($collectors)
void
(&$row)
structureTimelineData
(array $elements)
collectVarData
()
roundTo
(float $number, int $increments = 5)
prepare
(?RequestInterface $request = null, ?ResponseInterface $response = null)
respond
()
format
(string $data, string $format = 'html')