src/Admin/Menu.php
public function addChild(Menu $child)
    {
        $this->children[$child->getOrder() . '--' . $child->getLabel()] = $child;

        return $this;
    }
public function addChild(Menu $child)
    {
        $this->children[$child->getOrder() . '--' . $child->getLabel()] = $child;

        return $this;
    }
public function addChild ( Menu $ child ) { $ this -> children [ $ child -> getOrder ( ) . '--' . $ child -> getLabel ( ) ] = $ child ; return $ this ; }
Add child to menu

@param Menu $child

@return $this
Add child to menu