/** * {@inheritdoc} */ public function increase(NodeInterface $node) { $node->setPriority(1 + $this->getMaxPriority($node->getParent())); }