SourceLockTransactionTrait.php
Table of Contents
Traits
- SourceLockTransactionTrait
- Shared concurrency framework for writers serialized per source document, following the
`DocumentService` pattern: the Store reservation writers (`ReservationService`,
`ReservationExpirer`), Eshop order, complaint and credit-note managers, the Invoicer credit-note
manager and the Company reservation, time-slot, work-list and work-sheet managers. It is not
applied to `DocumentService` itself, which keeps its own private copy. A trait is not a class,
so the DI scan never tries to instantiate it. A consumer outside Store may override
`lockLogChannel()` to log into its own channel; a trait is not a cross-module dependency, it
becomes part of the consuming class after `use`.