You are here

public function PreUpdateEventArgs::__construct in Plug 7

Constructor.

Parameters

object $entity:

ObjectManager $objectManager:

array $changeSet:

Overrides LifecycleEventArgs::__construct

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php, line 46

Class

PreUpdateEventArgs
Class that holds event arguments for a preUpdate event.

Namespace

Doctrine\Common\Persistence\Event

Code

public function __construct($entity, ObjectManager $objectManager, array &$changeSet) {
  parent::__construct($entity, $objectManager);
  $this->entityChangeSet =& $changeSet;
}