Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function increase(NodeInterface $node)
 {
     $node->setPriority(1 + $this->getMaxPriority($node->getParent()));
 }