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