class RouteCollectionBuilder
Helps add and import routes into a RouteCollection.
Methods
__construct(LoaderInterface $loader = null)
RouteCollectionBuilder import(mixed $resource, string|null $prefix = '/', string $type = null) Import an external routing resource and returns the RouteCollectionBuilder.
Route add(string $path, string $controller, string|null $name = null) Adds a route and returns it for future modification.
RouteCollectionBuilder createBuilder() Returns a