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