Verified against Semitexa Ultimate 2026.09.27.0404

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
#[AsReplayHandler(domain: ReplicationCaptureService::EVENT_DOMAIN, eventType: ReplicationCaptureService::EVENT_TYPE)]
final class RowChangedReplayHandler implements ReplayHandlerInterface

— vendor/semitexa/ledger/src/Application/Service/Replication/RowChangedReplayHandler.php

#[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

Have a product idea?One free MVP every month