Neos.ContentRepository/Classes/Domain/Model/Node.php
public function setNodeData(NodeData $nodeData): void
    {
        $this->nodeData = $nodeData;
        $this->nodeDataIsMatchingContext = null;
    }
public function setNodeData(NodeData $nodeData): void
    {
        $this->nodeData = $nodeData;
        $this->nodeDataIsMatchingContext = null;
    }
public function setNodeData ( NodeData $ nodeData ) : void { $ this -> nodeData = $ nodeData ; $ this -> nodeDataIsMatchingContext = null ; }
Set the associated NodeData in regards to the Context.

NOTE: This is internal only and should not be used outside of the ContentRepository.

@param NodeData $nodeData
@return void
@deprecated with version 4.3 - will be removed with 5.0
Set the associated NodeData in regards to the Context .