You are here

public function LifecycleEventArgs::getObjectManager in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/LifecycleEventArgs.php \Doctrine\Common\Persistence\Event\LifecycleEventArgs::getObjectManager()

Retrieves the associated ObjectManager.

Return value

ObjectManager

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/LifecycleEventArgs.php, line 85

Class

LifecycleEventArgs
Lifecycle Events are triggered by the UnitOfWork during lifecycle transitions of entities.

Namespace

Doctrine\Common\Persistence\Event

Code

public function getObjectManager() {
  return $this->objectManager;
}