Skip to content

Kirby 3.8.4

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

Parent class

Kirby\Http\Router