$matcher->match()
returns[1] the attributes of the matching route[2] (including a special _route
attribute containing the route name [3]).
The controller
default is included in the attributes too, so you can easily access it and then use something like call_user_func
to call the controller:
// ...
$attributes = $match->match($request->getPathInfo());
$controllerResult = call_user_func($attributes['controller']);