Esempio n. 1
0
 /**
  * Create a new Move class instance.
  *
  * @param   \AwatBayazidi\Foundation\Tree\Node      $node
  * @param   \AwatBayazidi\Foundation\Tree\Node|int  $target
  * @param   string          $position
  * @return  void
  */
 public function __construct($node, $target, $position)
 {
     $this->node = $node;
     $this->target = $this->resolveNode($target);
     $this->position = $position;
     $this->setEventDispatcher($node->getEventDispatcher());
 }