Class HydratingArrayIterator

Summary

Fully Qualified Name: Zend\Hydrator\Iterator\HydratingArrayIterator
Extends: HydratingIteratorIterator

Description

Methods

Name Description Defined By
__construct() HydratingArrayIterator
current() HydratingIteratorIterator
setHydrator() HydratingIteratorIterator
setPrototype() HydratingIteratorIterator

Method Details

__construct()

Parameter Name Type Description
$hydrator \HydratorInterface
$data array
$prototype string|object Object,

Returns:

current()

Returns: object Returns hydrated clone of $prototype

setHydrator()

Parameter Name Type Description
$hydrator

Returns:

setPrototype()

Parameter Name Type Description
$prototype

Returns:

Top