AutoRouteCollectorImproved example

$routeName,
                $route['handler'],
                implode(' ', array_map('class_basename', $filters['before'])),
                implode(' ', array_map('class_basename', $filters['after'])),
            ];
        }

        if ($collection->shouldAutoRoute()) {
            $autoRoutesImproved = config(Feature::class)->autoRoutesImproved ?? false;

            if ($autoRoutesImproved) {
                $autoRouteCollector = new AutoRouteCollectorImproved(
                    $collection->getDefaultNamespace(),
                    $collection->getDefaultController(),
                    $collection->getDefaultMethod(),
                    $methods,
                    $collection->getRegisteredControllers('*')
                );

                $autoRoutes = $autoRouteCollector->get();

                // Check for Module Routes.                 if ($routingConfig = config(Routing::class)) {
                    
Home | Imprint | This part of the site doesn't use cookies.