You are here

public function LifecycleEventArgs::__construct in Plug 7

Constructor.

Parameters

object $object:

ObjectManager $objectManager:

1 call to LifecycleEventArgs::__construct()
PreUpdateEventArgs::__construct in lib/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php
Constructor.
1 method overrides LifecycleEventArgs::__construct()
PreUpdateEventArgs::__construct in lib/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php
Constructor.

File

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

Class

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

Namespace

Doctrine\Common\Persistence\Event

Code

public function __construct($object, ObjectManager $objectManager) {
  $this->object = $object;
  $this->objectManager = $objectManager;
}