src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php
protected function createTabs(array $data): string
    {
        $html = '<div class="profiler-tabs row">';

        foreach ($data as $key => $value) {
            $id = \uniqid($key . '-', true);

            $html .= '<div class="profiler-tabs-tab col">';
            $html .= '<input type="radio" name="tabgroup" id="tab-' . $id . '">';
            $html .= '<label for="tab-' . $id . '">' . $value['name'] . '</label>';
            $html .= '<div class="profiler-tabs-tab-content">';
            $html .= $value['content'];
            $html .= '</div></div>';
        }

        $html .= '</div>';

        return $html;
    }
protected function createTabs(array $data): string
    {
        $html = '<div class="profiler-tabs row">';

        foreach ($data as $key => $value) {
            $id = \uniqid($key . '-', true);

            $html .= '<div class="profiler-tabs-tab col">';
            $html .= '<input type="radio" name="tabgroup" id="tab-' . $id . '">';
            $html .= '<label for="tab-' . $id . '">' . $value['name'] . '</label>';
            $html .= '<div class="profiler-tabs-tab-content">';
            $html .= $value['content'];
            $html .= '</div></div>';
        }

        $html .= '</div>';

        return $html;
    }
Creates a tab slider.

array[]         array     Defines witch tabs a shown.
['name']    string    Name of the tab
['content'] string    Tab content.

@param array $data (See above)

@return string