function DeprecatedArray::offsetGet
Attributes
#[\ReturnTypeWillChange]
File
-
core/
lib/ Drupal/ Component/ Utility/ DeprecatedArray.php, line 42
Class
- DeprecatedArray
- An array that triggers a deprecation warning when accessed.
Namespace
Drupal\Component\UtilityCode
public function offsetGet($offset) {
@trigger_error($this->message, E_USER_DEPRECATED);
return parent::offsetGet($offset);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.