src/Baum/Move.php
public static function to($node, $target, $position) {
    $instance = new static($node, $target, $position);

    return $instance->perform();
  }
public static function to($node, $target, $position) {
    $instance = new static($node, $target, $position);

    return $instance->perform();
  }
public static function to ( $ node , $ target , $ position ) { $ instance = new static ( $ node , $ target , $ position ) ; return $ instance -> perform ( ) ; }
Easy static accessor for performing a move operation.

@param   \Baum\Node      $node
@param   \Baum\Node|int  $target
@param   string          $position
@return \Baum\Node
Easy static accessor for performing a move operation .