You are here

public function AggregateHydrator::getEventManager in Zircon Profile 8.0

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

File

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

Class

AggregateHydrator
Aggregate hydrator that composes multiple hydrators via events

Namespace

Zend\Hydrator\Aggregate

Code

public function getEventManager() {
  if (null === $this->eventManager) {
    $this
      ->setEventManager(new EventManager());
  }
  return $this->eventManager;
}