PHP Class Neos\Neos\EventLog\Integrations\EntityIntegrationService

Inheritance: extends AbstractIntegrationService
Datei anzeigen Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$eelEvaluator Neos\Eel\CompilingEvaluator
$entityManager Doctrine\Common\Persistence\ObjectManager ..
$eventEmittingService Neos\Neos\EventLog\Domain\Service\EventEmittingService
$logger Neos\Flow\Log\SystemLoggerInterface
$monitorEntitiesSetting array

Public Methods

Method Description
dummyMethodToEnsureInstanceExists ( ) : void 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.
onFlush ( Doctrine\ORM\Event\OnFlushEventArgs $eventArgs ) : void Record events for entity changes.
setMonitorEntitiesSetting ( array $monitorEntitiesSetting ) : void

Method Details

dummyMethodToEnsureInstanceExists() public method

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.

onFlush() public method

Note: this method is registered as an Doctrine event listener in the settings of this package. TODO: Update/Delete of Entities
public onFlush ( Doctrine\ORM\Event\OnFlushEventArgs $eventArgs ) : void
$eventArgs Doctrine\ORM\Event\OnFlushEventArgs
return void

setMonitorEntitiesSetting() public method

public setMonitorEntitiesSetting ( array $monitorEntitiesSetting ) : void
$monitorEntitiesSetting array
return void

Property Details

$eelEvaluator protected_oe property

protected CompilingEvaluator,Neos\Eel $eelEvaluator
return Neos\Eel\CompilingEvaluator

$entityManager protected_oe property

..
protected ObjectManager,Doctrine\Common\Persistence $entityManager
return Doctrine\Common\Persistence\ObjectManager

$eventEmittingService protected_oe property

protected EventEmittingService,Neos\Neos\EventLog\Domain\Service $eventEmittingService
return Neos\Neos\EventLog\Domain\Service\EventEmittingService

$logger protected_oe property

protected SystemLoggerInterface,Neos\Flow\Log $logger
return Neos\Flow\Log\SystemLoggerInterface

$monitorEntitiesSetting protected_oe property

protected array $monitorEntitiesSetting
return array