Construct the matcher given the route collection.
Symfony\Component\Routing\RouteCollection $routes: The routes being matched.
public function __construct(RouteCollection $routes) { $this->routes = $routes; }