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;
    }
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;
    }
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 ; }
Load dumpers.

@param array            $builders  Builders
@param ContainerBuilder $container Container

@return $this self Object
Load dumpers .