src/Mmi/Navigation/NavigationConfigElement.php
public function addChild(\Mmi\Navigation\NavigationConfigElement $element)
    {
        $this->_options['children'][$element->getId()] = $element;
        return $this;
    }
public function addChild(\Mmi\Navigation\NavigationConfigElement $element)
    {
        $this->_options['children'][$element->getId()] = $element;
        return $this;
    }
public function addChild ( \ Mmi \ Navigation \ NavigationConfigElement $ element ) { $ this -> _options [ 'children' ] [ $ element -> getId ( ) ] = $ element ; return $ this ; }
Dodaje element potomny
@param \Mmi\Navigation\NavigationConfigElement $element
@return \Mmi\Navigation\NavigationConfigElement
Dodaje element potomny