ExtbaseHistoryTracker

final readonly class \TYPO3\CMS\Extbase\EventListener\ExtbaseHistoryTracker

Event listener that automatically tracks history for all Extbase domain entities by listening to Extbase persistence events and storing them in sys_history.

Table of Contents

Methods

__construct()  : mixed
onEntityPersisted()  : void
onEntityRemoved()  : void
onEntityUpdated()  : void

Methods

__construct()

public __construct(DataMapFactory $dataMapFactory, Context $context, TcaSchemaFactory $tcaSchemaFactory, Features $features, PersistenceCorrelationScope $correlationScope, CleanStateTracker $cleanStateTracker, ReflectionService $reflectionService) : mixed

Parameters

$dataMapFactory : DataMapFactory
$context : Context
$tcaSchemaFactory : TcaSchemaFactory
$features : Features
$correlationScope : PersistenceCorrelationScope
$cleanStateTracker : CleanStateTracker
$reflectionService : ReflectionService
On this page