Neos.ContentRepository/Classes/Domain/Model/NodeData.php
protected function setAsShadowOf(NodeData $nodeData = null)
    {
        $this->setMovedTo($nodeData);
        $this->setRemoved(($nodeData !== null));
        $this->addOrUpdate();
    }
protected function setAsShadowOf(NodeData $nodeData = null)
    {
        $this->setMovedTo($nodeData);
        $this->setRemoved(($nodeData !== null));
        $this->addOrUpdate();
    }
protected function setAsShadowOf ( NodeData $ nodeData = null ) { $ this -> setMovedTo ( $ nodeData ) ; $ this -> setRemoved ( ( $ nodeData !== null ) ) ; $ this -> addOrUpdate ( ) ; }
This becomes a shdow of the given NodeData object.
If NULL or no argument is given then movedTo is nulled and removed is set to false effectively turning this into a normal NodeData.

@param NodeData $nodeData
@return void
This becomes a shdow of the given NodeData object . If NULL or no argument is given then movedTo is nulled and removed is set to false effectively turning this into a normal NodeData .