Doctrine\ORM\Mapping\ClassMetadataInfo::invokeLifecycleCallbacks
Dispatches the lifecycle event of the given entity to the registered lifecycle callbacks and lifecycle listeners.
Signature
public function invokeLifecycleCallbacks(string
$lifecycleEvent,
Object
$entity )
Parameters
$lifecycleEvent
— string- The lifecycle event.
$entity
— object- The Entity on which the event occured.