protected function loadDumpers(array $builders, ContainerBuilder $container)
    {
        foreach ($builders as $builderName => $builder) {
            $container
                ->register(
                    'elcodi.sitemap_dumper.' . $builderName,
                    'Elcodi\Component\Sitemap\Dumper\SitemapDumper'
                )
                ->addArgument(new Reference('elcodi.sitemap_builder.' . $builderName))
                ->addArgument(new Reference($builder['dumper']))
                ->addArgument($builder['path'])
                ->setPublic(true);
        }

        return $this;
    }