Bundle/MediaBundle/Helper/Menu/MenuItem.php
public function getNavigationChildren()
    {
        $result = [];
        $children = $this->getChildren();
        foreach ($children as $child) {
            if ($child->getAppearInNavigation()) {
                $result[] = $child;
            }
        }

        return $result;
    }
public function getNavigationChildren()
    {
        $result = [];
        $children = $this->getChildren();
        foreach ($children as $child) {
            if ($child->getAppearInNavigation()) {
                $result[] = $child;
            }
        }

        return $result;
    }
public function getNavigationChildren ( ) { $ result = [ ] ; $ children = $ this -> getChildren ( ) ; foreach ( $ children as $ child ) { if ( $ child -> getAppearInNavigation ( ) ) { $ result [ ] = $ child ; } } return $ result ; }
Get children of current menu item that have the appearInNavigation flag set.

@return MenuItem[]
Get children of current menu item that have the appearInNavigation flag set .