etrepat / baum

Baum is an implementation of the Nested Set pattern for Laravel's Eloquent ORM.
http://etrepat.com/baum
MIT License
2.24k stars 459 forks source link

makeNthChildOf() method is missing #255

Open ahmadbadpey opened 7 years ago

ahmadbadpey commented 7 years ago

I think that There are empty place of a method named makeNthChildOf() in the moving-nodes-around.

That method can use to make a node nth child of another node. means that can place a node at a specific position of a parent. like this :

$node->makeNthChildOf(newPosition , $parent)

Is it that I am not aware of it?or there is any Alternative way?