Jackalope\Property::remove PHP Метод

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

{@inheritDoc}
public remove ( )
    public function remove()
    {
        $this->checkState();
        $parentNodeType = $this->getParent()->getPrimaryNodeType();
        //will throw a ConstraintViolationException if this property can't be removed
        $parentNodeType->canRemoveProperty($this->getName(), true);
        $this->getParent()->unsetProperty($this->name);
        parent::remove();
    }