Jackalope\Node::unsetProperty PHP Метод

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

Removes the reference in the internal node storage
public unsetProperty ( string $name )
$name string the name of the property to unset.
    public function unsetProperty($name)
    {
        $this->checkState();
        $this->setModified();
        if (!array_key_exists($name, $this->properties)) {
            throw new ItemNotFoundException('Implementation Error: Could not remove property from node because it is already gone');
        }
        $this->deletedProperties[$name] = $this->properties[$name];
        unset($this->properties[$name]);
    }