# RouterInterface

Chevere\Interfaces\Router\RouterInterface

view source (opens new window)

# Description

Describes the component in charge of handling routing.

# Methods

# withAddedRoutable

Return an instance with the specified added $routable.

Parameters

Throws

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified added $routable.


# index

Provides access to the index instance.


# routables

Provides access to the routables instance.


# routeCollector

Provides access to the route collector instance.

Return

FastRoute\RouteCollector


Last Updated: 5/1/2021, 2:31:10 PM