protected function addBuilderElements(
        Definition $builderDefinition,
        array $elements,
        $elementType

    ) {
        foreach ($elements as $blockReference) {
            $builderDefinition->addMethodCall(
                'addSitemapElementGenerator',
                [new Reference('elcodi.sitemap_element_generator.' . $elementType . '_' . $blockReference)]
            );
        }

        return $this;
    }
protected function addBuilderElements(
        Definition $builderDefinition,
        array $elements,
        $elementType

    ) {
        foreach ($elements as $blockReference) {
            $builderDefinition->addMethodCall(
                'addSitemapElementGenerator',
                [new Reference('elcodi.sitemap_element_generator.' . $elementType . '_' . $blockReference)]
            );
        }

        return $this;
    }
protected function addBuilderElements ( Definition $ builderDefinition , array $ elements , $ elementType ) { foreach ( $ elements as $ blockReference ) { $ builderDefinition -> addMethodCall ( 'addSitemapElementGenerator' , [ new Reference ( 'elcodi.sitemap_element_generator.' . $ elementType . '_' . $ blockReference ) ] ) ; } return $ this ; }
Load builder blocks.

@param Definition $builderDefinition Block definition
@param array      $elements          Elements
@param string     $elementType       Element type

@return $this Self object
Load builder blocks .