TraversableDummy.php 276 B

1234567891011121314
  1. <?php
  2. namespace Symfony\Tests\Component\Serializer\Fixtures;
  3. class TraversableDummy implements \IteratorAggregate
  4. {
  5. public $foo = 'foo';
  6. public $bar = 'bar';
  7. public function getIterator()
  8. {
  9. return new \ArrayIterator(get_object_vars($this));
  10. }
  11. }