Router::execute()
Creates a micro-router and executes the routing action immediately
Router::execute(string $path = null, string $method = 'GET', array $routes = [ ], Closure $callback = null)
Parameters
Name | Type | Default |
---|---|---|
$path | string |
null |
$method | string |
'GET' |
$routes | array |
[ ] |
$callback | Closure |
null |