Interface HydratingIteratorInterface

Summary

Fully Qualified Name: Zend\Hydrator\Iterator\HydratingIteratorInterface
Extends: Iterator

Description

Methods

Name Description Defined By
setHydrator() Sets the hydrator to use during iteration. HydratingIteratorInterface
setPrototype() This sets the prototype to hydrate. HydratingIteratorInterface

Method Details

setHydrator()

Sets the hydrator to use during iteration.

Parameter Name Type Description
$hydrator \HydratorInterface

Returns:

setPrototype()

This sets the prototype to hydrate.

This prototype can be the name of the class or the object itself; iteration will clone the object.

Parameter Name Type Description
$prototype string|object

Returns:

Top