Constructor
Parameters
object $entity:
ObjectManager $objectManager:
File
- drupal/core/vendor/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($entity, ObjectManager $objectManager) {
$this->entity = $entity;
$this->objectManager = $objectManager;
}