$router->call()
Calls the Router by path and method.
$router->call(?string $path = null, string $method = 'GET', ?Closure $callback = null)
Parameters
Name | Type | Default |
---|---|---|
$path | string |null |
null |
$method | string |
'GET' |
$callback | Closure |null |
null |