PersistenceCorrelationScope
FinalYes
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.
only to be used within Extbase, not part of TYPO3 Core API.
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
__construct()
public
__construct(Random $random) : mixed
Parameters
- $random : Random
get()
The scope is created with the first caller of a run, so a commit that writes no history does not consume one.
public
get() : CorrelationId
Return values
CorrelationIdreset()
public
reset() : void