class
ClosureLoader extendsLoader
ClosureLoader loads routes from a PHP closure.
The Closure must return a RouteCollection instance.
Methods
load(
mixed$closure,string$type =null)
Loads a Closure.
bool
supports(
mixed$resource,string$type =null)
No description
Details
RouteCollection
load(mixed$closure,string$type =null)
bool
supports(mixed$resource,string$type =null)