PersistenceCorrelationScope

final class \TYPO3\CMS\Extbase\Persistence\Generic\PersistenceCorrelationScope

Correlation scope of one Extbase persistence run. Everything written while a single commit is in progress shares this scope, the same way a DataHandler run shares the correlation id of its outermost instance. Backend starts a new scope per commit, so long running processes do not pile up unrelated changes below one id.

Table of Contents

Methods

__construct()  : mixed
get()  : CorrelationId
The scope is created with the first caller of a run, so a commit that writes no history does not consume one.
reset()  : void

Methods

On this page