this will only ever be triggered if the bundle injected the provider to the dynamic router, so we won't call provider->getRoutesByNames on a version of the provider that does not support this call, right?