/**
* Notify a lifecycleCallback event of doctrine over the enlight event manager.
*
* @param string $eventName
* @param LifecycleEventArgs $eventArgs
*
* @return Enlight_Event_EventArgs|null
*/
protected function notifyEvent($eventName,
$eventArgs) { return $this->eventManager->
notify($eventName,
[ 'entityManager' =>
$eventArgs->
getObjectManager(),
'entity' =>
$eventArgs->
getObject(),
]);
}}