You are here

public function HydratingIteratorInterface::setHydrator in Zircon Profile 8

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

Sets the hydrator to use during iteration.

Parameters

HydratorInterface $hydrator:

1 method overrides HydratingIteratorInterface::setHydrator()
HydratingIteratorIterator::setHydrator in vendor/zendframework/zend-hydrator/src/Iterator/HydratingIteratorIterator.php
@inheritdoc

File

vendor/zendframework/zend-hydrator/src/Iterator/HydratingIteratorInterface.php, line 32

Class

HydratingIteratorInterface

Namespace

Zend\Hydrator\Iterator

Code

public function setHydrator(HydratorInterface $hydrator);