public function AttributeBag::getIterator

Returns an iterator for attributes.

Return value

\ArrayIterator An \ArrayIterator instance

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Attribute/AttributeBag.php, line 143

Class

AttributeBag
This class relates to session attribute storage

Namespace

Symfony\Component\HttpFoundation\Session\Attribute

Code

public function getIterator() {
  return new \ArrayIterator($this->attributes);
}