You are here

public function ParameterBag::getIterator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/ParameterBag.php \Symfony\Component\HttpFoundation\ParameterBag::getIterator()

Returns an iterator for parameters.

Return value

\ArrayIterator An \ArrayIterator instance

File

vendor/symfony/http-foundation/ParameterBag.php, line 277

Class

ParameterBag
ParameterBag is a container for key/value pairs.

Namespace

Symfony\Component\HttpFoundation

Code

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