Service/CategoryService.php
private function expandNodes($references)
    {
        $id = $this->getCurrentCategoryId();

        if ($id) {
            while (isset($references[$id])) {
                $references[$id]->setExpanded(true);
                $id = $references[$id]->getParentId();
            }
        }
    }
private function expandNodes($references)
    {
        $id = $this->getCurrentCategoryId();

        if ($id) {
            while (isset($references[$id])) {
                $references[$id]->setExpanded(true);
                $id = $references[$id]->getParentId();
            }
        }
    }
private function expandNodes ( $ references ) { $ id = $ this -> getCurrentCategoryId ( ) ; if ( $ id ) { while ( isset ( $ references [ $ id ] ) ) { $ references [ $ id ] -> setExpanded ( true ) ; $ id = $ references [ $ id ] -> getParentId ( ) ; } } }
Expands nodes.

@param \ArrayIterator $references
Expands nodes .