Verified against Semitexa Ultimate 2026.09.19.1020

Ledger attributes

Every attribute declared by Ledger, with the signature the code has and a usage quoted from the codebase.

#[AsAggregateCommand]

Semitexa\Ledger\Attribute\AsAggregateCommand

Applies to: class

parameter type required
aggregateType string yes
aggregateIdField string yes

No usage found in this installation.

#[AsReplayHandler]

Semitexa\Ledger\Attribute\AsReplayHandler

Applies to: class

parameter type required
domain string yes
eventType string yes
eventVersion int no

No usage found in this installation.

#[OwnedAggregate]

Semitexa\Ledger\Attribute\OwnedAggregate

Applies to: class

parameter type required
type string yes
idField string yes
creates bool no

No usage found in this installation.

#[Propagated]

Semitexa\Ledger\Attribute\Propagated

Applies to: class

parameter type required
domain string no
#[Propagated(domain: 'demo')]
final class DemoItemCreated

— vendor/semitexa/demo/src/Application/Payload/Event/DemoItemCreated.php