void refreshNameLookups() Refresh the name look-up table. This is done in case any names are fluently defined. Return Value void
Route match(Request $request) Find the first route matching a given request. Parameters Request $request Return Value Route Exceptions NotFoundHttpException
bool hasNamedRoute(string $name) Determine if the route collection contains a given named route. Parameters string $name Return Value bool
array getRoutesByMethod() Get all of the routes keyed by their HTTP verb / method. Return Value array
array getRoutes() Get all of the routes in the collection. Return Value array
ArrayIterator getIterator() Get an iterator for the items. Return Value ArrayIterator
Route|null getByName(string $name) Get a route instance by its name. Parameters string $name Return Value Route|null
Route|null getByAction(string $action) Get a route instance by its controller action. Parameters string $action Return Value Route|null
array get(string|null $method = null) Get all of the routes in the collection. Parameters string|null $method Return Value array
int count() Count the number of items in the collection. Return Value int
Page 216 of 996