/**
  * Free the node
  * @param Node\NodeInterface $node
  */
 public function free(Node\NodeInterface $node = null)
 {
     $this->nestedSetRepository->free($node);
 }
Esempio n. 2
0
 /**
  * Prepare object to be processed by garbage collector by removing it's
  * instance from the Doctrine Repository Array Helper object
  * @param EntityNodeInterface $entity
  */
 public function free(EntityNodeInterface $entity)
 {
     $this->repository->free($entity);
     $this->repository = null;
 }