You are here

public function AggregateHydrator::setEventManager in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-hydrator/src/Aggregate/AggregateHydrator.php \Zend\Hydrator\Aggregate\AggregateHydrator::setEventManager()
1 call to AggregateHydrator::setEventManager()
AggregateHydrator::getEventManager in vendor/zendframework/zend-hydrator/src/Aggregate/AggregateHydrator.php

File

vendor/zendframework/zend-hydrator/src/Aggregate/AggregateHydrator.php, line 67

Class

AggregateHydrator
Aggregate hydrator that composes multiple hydrators via events

Namespace

Zend\Hydrator\Aggregate

Code

public function setEventManager(EventManagerInterface $eventManager) {
  $eventManager
    ->setIdentifiers([
    __CLASS__,
    get_class($this),
  ]);
  $this->eventManager = $eventManager;
}