Aggregate listener wrapping around a hydrator. Listens to {@see \Zend\Stdlib\Hydrator\Aggregate::EVENT_HYDRATE} and {@see \Zend\Stdlib\Hydrator\Aggregate::EVENT_EXTRACT}

package Default
inherited_from \Zend\EventManager\AbstractListenerAggregate

 Methods

__construct()

__construct(\Zend\Stdlib\Hydrator\HydratorInterface $hydrator) 

Parameters

$hydrator

\Zend\Stdlib\Hydrator\HydratorInterface

{@inheritDoc}

attach(\Zend\EventManager\EventManagerInterface $events, $priority = 1

Parameters

$events

$priority

Detach all previously attached listeners

detach(\Zend\EventManager\EventManagerInterface $events) 
Inherited
inherited_from \Zend\EventManager\ListenerAggregateInterface::detach()

Parameters

$events

 Properties

 

$hydrator

$hydrator : \Zend\Stdlib\Hydrator\HydratorInterface

Default

 

$listeners

$listeners : array<mixed,\Zend\Stdlib\CallbackHandler>

Default

array()