* @template-extends HydratingIteratorIterator */ class HydratingArrayIterator extends HydratingIteratorIterator { /** * @param array $data Data being used to hydrate the $prototype * @param class-string|TPrototype $prototype */ public function __construct(HydratorInterface $hydrator, array $data, $prototype) { parent::__construct($hydrator, new ArrayIterator($data), $prototype); } }