Neos.ContentRepository/Classes/Domain/Model/Node.php
public function unsetContentObject(): void
    {
        if ($this->getContentObject() === null) {
            return;
        }
        $this->materializeNodeDataAsNeeded();
        $this->nodeData->unsetContentObject();

        $this->context->getFirstLevelNodeCache()->flush();
        $this->emitNodeUpdated($this);
    }
public function unsetContentObject(): void
    {
        if ($this->getContentObject() === null) {
            return;
        }
        $this->materializeNodeDataAsNeeded();
        $this->nodeData->unsetContentObject();

        $this->context->getFirstLevelNodeCache()->flush();
        $this->emitNodeUpdated($this);
    }
public function unsetContentObject ( ) : void { if ( $ this -> getContentObject ( ) === null ) { return ; } $ this -> materializeNodeDataAsNeeded ( ) ; $ this -> nodeData -> unsetContentObject ( ) ; $ this -> context -> getFirstLevelNodeCache ( ) -> flush ( ) ; $ this -> emitNodeUpdated ( $ this ) ; }
Unsets the content object of this node.

@return void
@throws NodeTypeNotFoundException
@throws NodeException
@deprecated with version 4.3 - will be removed with 5.0 without replacement. Attaching entities to nodes never really worked. Instead you can reference objects as node properties via their identifier
Unsets the content object of this node .