class RouteListController extends Controller (View source)

Properties

protected Router $router Router.

Methods

__construct(Router $router)

Create a controller instance.

View
__invoke()

Render routes.

string
getRouteMiddleware(Route $route)

Get route middleware.

bool
matches(array $patterns, string $subject)

Perform a regular expression match.

Details

__construct(Router $router)

Create a controller instance.

Parameters

Router $router

View __invoke()

Render routes.

Return Value

View

protected string getRouteMiddleware(Route $route)

Get route middleware.

Parameters

Route $route

Return Value

string

protected bool matches(array $patterns, string $subject)

Perform a regular expression match.

Parameters

array $patterns
string $subject

Return Value

bool