RouteCollectionBuilder

RouteCollectionBuilder

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.