Provider/ProviderRegistry.php
public function getProvidersBySitemap($sitemap)
    {
        $providers = [];
        foreach($this->providers as $provider) {
            if ($provider->getSitemap() === $sitemap) {
                $providers[] = $provider;
            }
        }
        return $providers;
    }
public function getProvidersBySitemap($sitemap)
    {
        $providers = [];
        foreach($this->providers as $provider) {
            if ($provider->getSitemap() === $sitemap) {
                $providers[] = $provider;
            }
        }
        return $providers;
    }
{@inheritdoc}