Ejemplo n.º 1
0
 /**
  * Free the node
  * @param Node\NodeInterface $node
  */
 public function free(Node\NodeInterface $node = null)
 {
     $this->nestedSetRepository->free($node);
 }
Ejemplo 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;
 }