EntityIntegrationService
class EntityIntegrationService extends AbstractIntegrationService (View source)
Monitors entity changes
Properties
protected EventEmittingService | $eventEmittingService | from AbstractIntegrationService | |
protected EntityManagerInterface | $entityManager | Doctrine's Entity Manager. |
|
protected CompilingEvaluator | $eelEvaluator | ||
protected array | $monitorEntitiesSetting |
Methods
void
dummyMethodToEnsureInstanceExists()
Dummy method which is called in a prePersist signal. If we remove that, this object is never instantiated and thus cannot hook into the Doctrine EntityManager.
void
onFlush(OnFlushEventArgs $eventArgs)
Record events for entity changes.
void
setMonitorEntitiesSetting(array $monitorEntitiesSetting)
No description
Details
void
dummyMethodToEnsureInstanceExists()
Dummy method which is called in a prePersist signal. If we remove that, this object is never instantiated and thus cannot hook into the Doctrine EntityManager.
void
onFlush(OnFlushEventArgs $eventArgs)
Record events for entity changes.
Note: this method is registered as an Doctrine event listener in the settings of this package.
TODO: Update/Delete of Entities
void
setMonitorEntitiesSetting(array $monitorEntitiesSetting)
No description