RouteCollection
class RouteCollection implements Countable, IteratorAggregate (View source)
Methods
Route add(Route $route) Add a Route instance to the collection. void refreshNameLookups() Refresh the name look-up table. Route match(Request $request) Find the first route matching a given request. array get(string|null $method = null) Get all of the routes in the collection. bool hasNamedRoute(string $name) Determine if the route collection contains a given named route