Bundle/MediaBundle/Helper/Menu/MenuBuilder.php
public function getBreadCrumb()
    {
        $result = [];
        $current = $this->getCurrent();
        while (!is_null($current)) {
            array_unshift($result, $current);
            $current = $current->getParent();
        }

        return $result;
    }
public function getBreadCrumb()
    {
        $result = [];
        $current = $this->getCurrent();
        while (!is_null($current)) {
            array_unshift($result, $current);
            $current = $current->getParent();
        }

        return $result;
    }
public function getBreadCrumb ( ) { $ result = [ ] ; $ current = $ this -> getCurrent ( ) ; while ( ! is_null ( $ current ) ) { array_unshift ( $ result , $ current ) ; $ current = $ current -> getParent ( ) ; } return $ result ; }
Get breadcrumb path for current menu item.

@return MenuItem[]
Get breadcrumb path for current menu item .