Neos.ContentRepository/Classes/Migration/Transformations/RenameNode.php
public function execute(NodeData $node)
    {
        $newNodePath = $node->getParentPath() . '/' . $this->newName;
        $node->setPath($newNodePath);
    }
public function execute(NodeData $node)
    {
        $newNodePath = $node->getParentPath() . '/' . $this->newName;
        $node->setPath($newNodePath);
    }
public function execute ( NodeData $ node ) { $ newNodePath = $ node -> getParentPath ( ) . '/' . $ this -> newName ; $ node -> setPath ( $ newNodePath ) ; }
Renames the node to the new name.

@param NodeData $node
@return void
Renames the node to the new name .