Skip to content

AbTestingOutboxPayload ​

Rasuvaeff\Yii3AbTestingOutbox\AbTestingOutboxPayload

Class · rasuvaeff/yii3-ab-testing-outbox · Source

Transport description produced by the message factory before it is handed to \Rasuvaeff\Yii3Outbox\Outbox::record(): the message type, the JSON payload, and an optional aggregate id.

Constructor ​

php
new AbTestingOutboxPayload(
    string $type,
    string $payload,
    ?string $aggregateId,
)

Properties ​

PropertyTypeReadonlyDescription
typestringyes
payloadstringyes
aggregateId?stringyes