public function setRoot($rootContextPath) { $this->root = $this->nodeService->getNodeFromContextPath($rootContextPath); }