Implements IteratorAggregate::getIterator().
File
- drupal/core/lib/Drupal/Core/Template/AttributeArray.php, line 76
- Definition of Drupal\Core\Template\AttributeArray.
Class
- AttributeArray
- A class that defines a type of Attribute that can be added to as an array.
Namespace
Drupal\Core\Template
Code
public function getIterator() {
return new \ArrayIterator($this->value);
}