public function HydratingArrayIterator::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-hydrator/src/Iterator/HydratingArrayIterator.php \Zend\Hydrator\Iterator\HydratingArrayIterator::__construct()
Parameters
HydratorInterface $hydrator:
array $data:
string|object $prototype Object, or class name to use for prototype.:
Overrides HydratingIteratorIterator::__construct
File
- vendor/
zendframework/ zend-hydrator/ src/ Iterator/ HydratingArrayIterator.php, line 32
Class
Namespace
Zend\Hydrator\IteratorCode
public function __construct(HydratorInterface $hydrator, array $data, $prototype) {
parent::__construct($hydrator, new ArrayIterator($data), $prototype);
}