src/Viserio/Component/Profiler/DataCollector/Bridge/Cache/Psr6Psr16CacheDataCollector.php
public function getPanel(): string
    {
        $data = [];

        foreach ($this->data['pools']['calls'] as $name => $calls) {
            $html              = '';
            $statistic         = $this->data['pools']['statistics'][$name];
            $statistic['time'] = $this->formatDuration($statistic['time']);

            $html .= $this->createMetrics(
                $statistic,
                'Statistics'
            );

            $calledCalls = [];

            foreach ($calls as $i => $call) {
                $calledCalls[] = [
                    $this->formatDuration($call->end - $call->start),
                    $call->name,
                    $call->result,
                ];
            }

            $html .= $this->createTable(
                $calledCalls,
                [
                    'name'    => 'Calls',
                    'headers' => ['Time', 'Call', 'Hit'],
                ]
            );

            $data[] = [
                'name'    => (new ReflectionClass($name))->getShortName(),
                'content' => $html,
            ];
        }

        return $this->createTabs($data);
    }
public function getPanel(): string
    {
        $data = [];

        foreach ($this->data['pools']['calls'] as $name => $calls) {
            $html              = '';
            $statistic         = $this->data['pools']['statistics'][$name];
            $statistic['time'] = $this->formatDuration($statistic['time']);

            $html .= $this->createMetrics(
                $statistic,
                'Statistics'
            );

            $calledCalls = [];

            foreach ($calls as $i => $call) {
                $calledCalls[] = [
                    $this->formatDuration($call->end - $call->start),
                    $call->name,
                    $call->result,
                ];
            }

            $html .= $this->createTable(
                $calledCalls,
                [
                    'name'    => 'Calls',
                    'headers' => ['Time', 'Call', 'Hit'],
                ]
            );

            $data[] = [
                'name'    => (new ReflectionClass($name))->getShortName(),
                'content' => $html,
            ];
        }

        return $this->createTabs($data);
    }
{@inheritdoc}