public function add(NodeInterface $node)
	{
		$max = $this->getMax();
		$node->setLeftValue($max + 1);
		$node->setRightValue($max + 2);
		$node->setLevel(0);
	}
public function add(NodeInterface $node)
	{
		$max = $this->getMax();
		$node->setLeftValue($max + 1);
		$node->setRightValue($max + 2);
		$node->setLevel(0);
	}
public function add ( NodeInterface $ node ) { $ max = $ this -> getMax ( ) ; $ node -> setLeftValue ( $ max + 1 ) ; $ node -> setRightValue ( $ max + 2 ) ; $ node -> setLevel ( 0 ) ; }
Adds the new node to the repository
@param NodeInterface $node
Adds the new node to the repository