public function execute(NodeData $node) { $newNodePath = $node->getParentPath() . '/' . $this->newName; $node->setPath($newNodePath); }