public function DeprecatedArray::getIterator in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::getIterator()
- 10 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::getIterator()
File
- core/
lib/ Drupal/ Component/ Utility/ DeprecatedArray.php, line 65
Class
- DeprecatedArray
- An array that triggers a deprecation warning when accessed.
Namespace
Drupal\Component\UtilityCode
public function getIterator() {
@trigger_error($this->message, E_USER_DEPRECATED);
return parent::getIterator();
}