You are here

public function HydratingIteratorIterator::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-hydrator/src/Iterator/HydratingIteratorIterator.php \Zend\Hydrator\Iterator\HydratingIteratorIterator::__construct()

Parameters

HydratorInterface $hydrator:

Iterator $data:

string|object $prototype Object or class name to use for prototype.:

1 call to HydratingIteratorIterator::__construct()
HydratingArrayIterator::__construct in vendor/zendframework/zend-hydrator/src/Iterator/HydratingArrayIterator.php
1 method overrides HydratingIteratorIterator::__construct()
HydratingArrayIterator::__construct in vendor/zendframework/zend-hydrator/src/Iterator/HydratingArrayIterator.php

File

vendor/zendframework/zend-hydrator/src/Iterator/HydratingIteratorIterator.php, line 34

Class

HydratingIteratorIterator

Namespace

Zend\Hydrator\Iterator

Code

public function __construct(HydratorInterface $hydrator, Iterator $data, $prototype) {
  $this
    ->setHydrator($hydrator);
  $this
    ->setPrototype($prototype);
  parent::__construct($data);
}