Class AggregateHydrator

Summary

Fully Qualified Name: Zend\Hydrator\Aggregate\AggregateHydrator
Implements: HydratorInterface, EventManagerAwareInterface

Description

Aggregate hydrator that composes multiple hydrators via events

Methods

Name Description Defined By
add() Attaches the provided hydrator to the list of hydrators to be used while hydrating/extracting data AggregateHydrator
extract() {@inheritDoc} AggregateHydrator
getEventManager() {@inheritDoc} AggregateHydrator
hydrate() {@inheritDoc} AggregateHydrator
setEventManager() {@inheritDoc} AggregateHydrator

Method Details

add()

Attaches the provided hydrator to the list of hydrators to be used while hydrating/extracting data

Parameter Name Type Description
$hydrator \HydratorInterface
$priority int

Returns:

extract()

{@inheritDoc}

Parameter Name Type Description
$object

Returns:

getEventManager()

{@inheritDoc}

Returns:

hydrate()

{@inheritDoc}

Parameter Name Type Description
$data
$object

Returns:

setEventManager()

{@inheritDoc}

Parameter Name Type Description
$eventManager

Returns:

Top