DefinedRouteCollector
in package
FinalYes
Collect all defined routes for display.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- collect() : Generator<string|int, array{method: string, route: string, name: string, handler: string}>
Properties
$routeCollection read-only
private
RouteCollection
$routeCollection
Methods
__construct()
public
__construct(RouteCollection $routeCollection) : mixed
Parameters
- $routeCollection : RouteCollection
collect()
public
collect() : Generator<string|int, array{method: string, route: string, name: string, handler: string}>