You are here

public function TestComplexData::getIterator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TestComplexData::getIterator()

File

core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php, line 85
Contains \Drupal\Tests\serialization\Unit\Normalizer\ComplexDataNormalizerTest.

Class

TestComplexData
Test class implementing ComplexDataInterface and IteratorAggregate.

Namespace

Drupal\Tests\serialization\Unit\Normalizer

Code

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