src/Tree.php
public function deleteNode($nodeId)
    {
        $node = $this->getNode($nodeId);

        $operation = new Operations\Delete($node, $this->config, $this);
        $operation->run();
    }
public function deleteNode($nodeId)
    {
        $node = $this->getNode($nodeId);

        $operation = new Operations\Delete($node, $this->config, $this);
        $operation->run();
    }
public function deleteNode ( $ nodeId ) { $ node = $ this -> getNode ( $ nodeId ) ; $ operation = new Operations \ Delete ( $ node , $ this -> config , $ this ) ; $ operation -> run ( ) ; }
Delete node and its children.
@param int $nodeId
Delete node and its children .