Neos.ContentRepository/Classes/Domain/Model/Node.php
protected function moveNodeToDestinationPath(NodeInterface $node, $destinationPath)
    {
        $nodeData = $node->getNodeData();
        $possibleShadowedNodeData = $nodeData->move($destinationPath, $this->context->getWorkspace());
        if ($node instanceof Node) {
            $node->setNodeData($possibleShadowedNodeData);
        }
    }
protected function moveNodeToDestinationPath(NodeInterface $node, $destinationPath)
    {
        $nodeData = $node->getNodeData();
        $possibleShadowedNodeData = $nodeData->move($destinationPath, $this->context->getWorkspace());
        if ($node instanceof Node) {
            $node->setNodeData($possibleShadowedNodeData);
        }
    }
protected function moveNodeToDestinationPath ( NodeInterface $ node , $ destinationPath ) { $ nodeData = $ node -> getNodeData ( ) ; $ possibleShadowedNodeData = $ nodeData -> move ( $ destinationPath , $ this -> context -> getWorkspace ( ) ) ; if ( $ node instanceof Node ) { $ node -> setNodeData ( $ possibleShadowedNodeData ) ; } }
Moves the given node to the destination path by modifying the underlaying NodeData object.

@param NodeInterface $node
@param string $destinationPath
@return void
Moves the given node to the destination path by modifying the underlaying NodeData object .