src/CoreBundle/EventListener/DcGeneral/Breadcrumb/AbstractBreadcrumbListener.php
protected function getBreadcrumbElements(EnvironmentInterface $environment, BreadcrumbStore $elements)
    {
        if ($this->parent) {
            $this->parent->getBreadcrumbElements($environment, $elements);
        }
    }
protected function getBreadcrumbElements(EnvironmentInterface $environment, BreadcrumbStore $elements)
    {
        if ($this->parent) {
            $this->parent->getBreadcrumbElements($environment, $elements);
        }
    }
protected function getBreadcrumbElements ( EnvironmentInterface $ environment , BreadcrumbStore $ elements ) { if ( $ this -> parent ) { $ this -> parent -> getBreadcrumbElements ( $ environment , $ elements ) ; } }
Perform the bread crumb generating.

@param EnvironmentInterface $environment The environment in use.

@param BreadcrumbStore      $elements    The elements generated so far.

@return void
Perform the bread crumb generating .