Baum\Node::moveTo PHP Méthode

moveTo() protected méthode

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
Résultat Node
    protected function moveTo($target, $position)
    {
        return Move::to($this, $target, $position);
    }