Neos\ContentRepository\Domain\Model\Node::removeProperty PHP Метод

removeProperty() публичный Метод

If the node has a content object attached, the property will not be removed on that object if it exists.
public removeProperty ( string $propertyName ) : void
$propertyName string Name of the property
Результат void
    public function removeProperty($propertyName)
    {
        if (!$this->isNodeDataMatchingContext()) {
            $this->materializeNodeData();
        }
        if (!$this->hasProperty($propertyName)) {
            return;
        }
        $this->nodeData->removeProperty($propertyName);
        $this->context->getFirstLevelNodeCache()->flush();
        $this->emitNodeUpdated($this);
    }
Node