public function LifecycleEventArgs::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/LifecycleEventArgs.php \Doctrine\Common\Persistence\Event\LifecycleEventArgs::__construct()
Constructor.
Parameters
object $object:
ObjectManager $objectManager:
1 call to LifecycleEventArgs::__construct()
- PreUpdateEventArgs::__construct in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Event/ PreUpdateEventArgs.php - Constructor.
1 method overrides LifecycleEventArgs::__construct()
- PreUpdateEventArgs::__construct in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Event/ PreUpdateEventArgs.php - Constructor.
File
- 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\EventCode
public function __construct($object, ObjectManager $objectManager) {
$this->object = $object;
$this->objectManager = $objectManager;
}