You are here

public function AnnotationObject::offsetUnset in Markdown 8.2

1 call to AnnotationObject::offsetUnset()
AnnotationObject::__unset in src/Annotation/AnnotationObject.php

File

src/Annotation/AnnotationObject.php, line 346

Class

AnnotationObject
Base annotation class for retrieving the annotation as an object.

Namespace

Drupal\markdown\Annotation

Code

public function offsetUnset($offset) {
  if (array_key_exists($offset, $this->_deprecatedProperties)) {
    unset($this->_deprecated[$offset]);
  }
  elseif (property_exists($this, $offset)) {
    unset($this->{$offset});
  }
}