Bundle/MediaBundle/Helper/Menu/MenuItem.php
public function getChildren()
    {
        if (is_null($this->children)) {
            $this->children = $this->menu->getChildren($this);
        }

        return $this->children;
    }
public function getChildren()
    {
        if (is_null($this->children)) {
            $this->children = $this->menu->getChildren($this);
        }

        return $this->children;
    }
public function getChildren ( ) { if ( is_null ( $ this -> children ) ) { $ this -> children = $ this -> menu -> getChildren ( $ this ) ; } return $ this -> children ; }
Get children of current menu item.

@return MenuItem[]
Get children of current menu item .