class LifecycleEventArgs extends EventArgs (View source)

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

Methods

__construct($object, ObjectManager $objectManager)

No description

object
getEntity() deprecated

Retrieves the associated entity.

object
getObject()

Retrieves the associated object.

getObjectManager()

Retrieves the associated ObjectManager.

Details

__construct($object, ObjectManager $objectManager)

Parameters

$object
ObjectManager $objectManager

object getEntity() deprecated

deprecated

Retrieves the associated entity.

Return Value

object

object getObject()

Retrieves the associated object.

Return Value

object

ObjectManager getObjectManager()

Retrieves the associated ObjectManager.

Return Value

ObjectManager