public function delete()
	{
		if ($this->deleted) {
			return;
		}
		$this->deleted = true;

		$left = $this->getLeftValue();
		$spaceUsed = $this->getIntervalSize() + 1;
		$this->repository->delete($this);

		// Free the unused space
		$this->repository->truncate($left, $spaceUsed);
	}
public function delete()
	{
		if ($this->deleted) {
			return;
		}
		$this->deleted = true;

		$left = $this->getLeftValue();
		$spaceUsed = $this->getIntervalSize() + 1;
		$this->repository->delete($this);

		// Free the unused space
		$this->repository->truncate($left, $spaceUsed);
	}
public function delete ( ) { if ( $ this -> deleted ) { return ; } $ this -> deleted = true ; $ left = $ this -> getLeftValue ( ) ; $ spaceUsed = $ this -> getIntervalSize ( ) + 1 ; $ this -> repository -> delete ( $ this ) ; // Free the unused space $ this -> repository -> truncate ( $ left , $ spaceUsed ) ; }
Deletes the current node from the repository
@nestedSetMethod
Deletes the current node from the repository