$before_state Decoded pre-action state. * @param DateTimeImmutable $created_at Capture timestamp (UTC). */ public function __construct( public readonly int $id, public readonly int $ledger_id, public readonly string $entity_type, public readonly int $entity_id, public readonly array $before_state, public readonly DateTimeImmutable $created_at ) { } }