public function PreUpdateEventArgs::__construct

Constructor.

Parameters

object $entity:

ObjectManager $objectManager:

array $changeSet:

Overrides LifecycleEventArgs::__construct

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php, line 47

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;
}