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