You are here

class HydratingArrayIterator in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-hydrator/src/Iterator/HydratingArrayIterator.php \Zend\Hydrator\Iterator\HydratingArrayIterator
  2. 8 vendor/zendframework/zend-stdlib/src/Hydrator/Iterator/HydratingArrayIterator.php \Zend\Stdlib\Hydrator\Iterator\HydratingArrayIterator
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-hydrator/src/Iterator/HydratingArrayIterator.php \Zend\Hydrator\Iterator\HydratingArrayIterator

Hierarchy

Expanded class hierarchy of HydratingArrayIterator

1 file declares its use of HydratingArrayIterator
HydratingArrayIterator.php in vendor/zendframework/zend-stdlib/src/Hydrator/Iterator/HydratingArrayIterator.php

File

vendor/zendframework/zend-hydrator/src/Iterator/HydratingArrayIterator.php, line 15

Namespace

Zend\Hydrator\Iterator
View source
class HydratingArrayIterator extends HydratingIteratorIterator {

  /**
   * @var HydratorInterface
   */
  protected $hydrator;

  /**
   * @var object
   */
  protected $prototype;

  /**
   * @param HydratorInterface $hydrator
   * @param array $data
   * @param string|object $prototype Object, or class name to use for prototype.
   */
  public function __construct(HydratorInterface $hydrator, array $data, $prototype) {
    parent::__construct($hydrator, new ArrayIterator($data), $prototype);
  }

}

Members