Baum\Node::moveTo PHP Method

moveTo() protected method

Main move method. Here we handle all node movements with the corresponding lft/rgt index updates.
protected moveTo ( Baum\Node | integer $target, string $position ) : Node
$target Baum\Node | integer
$position string
return Node
    protected function moveTo($target, $position)
    {
        return Move::to($this, $target, $position);
    }