src/Viserio/Component/Routing/DataCollector/RoutingDataCollector.php
public function getPanel(): string
    {
        $headers = [0 => 'Methods', 2 => 'Path', 3 => 'Name', 4 => 'Action', 5 => 'With Middleware', 6 => 'Without Middleware'];
        $data    = [];

        foreach ($this->data['routes'] as $route) {
            $routeData = [
                0 => \implode(' | ', $route->getMethods()),
                2 => $route->getUri(),
                3 => $route->getName() ?? '-',
                4 => $route->getActionName(),
                5 => \implode(', ', $route->gatherMiddleware()),
                6 => \implode(', ', $route->gatherDisabledMiddleware()),
            ];

            if ($route->getDomain() !== null) {
                $routeData[1] = 'Domain';
            }

            $data[] = $routeData;
        }

        if (isset($data[0][1])) {
            $headers[1] = 'Domain';
        }

        \sort($data, \SORT_NUMERIC);
        \sort($headers, \SORT_NUMERIC);

        return $this->createTable(
            $data,
            [
                'headers'   => $headers,
                'vardumper' => false,
            ]
        );
    }
public function getPanel(): string
    {
        $headers = [0 => 'Methods', 2 => 'Path', 3 => 'Name', 4 => 'Action', 5 => 'With Middleware', 6 => 'Without Middleware'];
        $data    = [];

        foreach ($this->data['routes'] as $route) {
            $routeData = [
                0 => \implode(' | ', $route->getMethods()),
                2 => $route->getUri(),
                3 => $route->getName() ?? '-',
                4 => $route->getActionName(),
                5 => \implode(', ', $route->gatherMiddleware()),
                6 => \implode(', ', $route->gatherDisabledMiddleware()),
            ];

            if ($route->getDomain() !== null) {
                $routeData[1] = 'Domain';
            }

            $data[] = $routeData;
        }

        if (isset($data[0][1])) {
            $headers[1] = 'Domain';
        }

        \sort($data, \SORT_NUMERIC);
        \sort($headers, \SORT_NUMERIC);

        return $this->createTable(
            $data,
            [
                'headers'   => $headers,
                'vardumper' => false,
            ]
        );
    }
{@inheritdoc}