/** * Removes all nodes from the repository */ public function pruneCommand() { $this->nodeRepository->removeAll(); }