src/Router/NamedDataGenerator/HandlerWrapperGenerator.php
public function addRoute($httpMethod, $routeData, $handler)
    {
        $this->wrappedGenerator->addRoute($httpMethod, $routeData, $handler);
    }
public function addRoute($httpMethod, $routeData, $handler)
    {
        $this->wrappedGenerator->addRoute($httpMethod, $routeData, $handler);
    }
Adds a route to the data generator. The route data uses the
same format that is returned by RouterParser::parser().

The handler doesn't necessarily need to be a callable, it
can be arbitrary data that will be returned when the route
matches.

@param string $httpMethod
@param array  $routeData
@param mixed  $handler