| 1 | <?php | ||
| 20 | class ObjectIterator extends AbstractLazyCollection | ||
| 21 | { | ||
| 22 | /** | ||
| 23 | * @var Converter | ||
| 24 | */ | ||
| 25 | private $converter; | ||
| 26 | |||
| 27 | /** | ||
| 28 | * @var array Aliases information. | ||
| 29 | */ | ||
| 30 | private $alias; | ||
| 31 | |||
| 32 | /** | ||
| 33 | * Converts raw document data to objects when requested. | ||
| 34 | * | ||
| 35 | * @param Converter $converter | ||
| 36 | * @param array $objects | ||
| 37 | * @param array $alias | ||
| 38 | */ | ||
| 39 | public function __construct($converter, $objects, $alias) | ||
| 45 | |||
| 46 | /** | ||
| 47 |      * {@inheritdoc} | ||
| 48 | */ | ||
| 49 | protected function convertDocument(array $document) | ||
| 57 | |||
| 58 | /** | ||
| 59 | * @inheritDoc | ||
| 60 | */ | ||
| 61 | protected function doInitialize() | ||
| 67 | } | ||
| 68 |