|
14 | 14 | */ |
15 | 15 | class AzureBrokerPropertiesStamp implements StampInterface |
16 | 16 | { |
17 | | - /** @var string|null */ |
18 | | - private $contentType; |
19 | | - |
20 | | - /** @var string|null */ |
21 | | - private $correlationId; |
22 | | - |
23 | | - /** @var string|null */ |
24 | | - private $sessionId; |
25 | | - |
26 | | - /** @var int|null */ |
27 | | - private $deliveryCount; |
28 | | - |
29 | | - /** @var \DateTimeInterface|null */ |
30 | | - private $lockedUntilUtc; |
31 | | - |
32 | | - /** @var string|null*/ |
33 | | - private $lockToken; |
34 | | - |
35 | | - /** @var string|null*/ |
36 | | - private $messageId; |
37 | | - |
38 | | - /** @var string|null*/ |
39 | | - private $label; |
40 | | - |
41 | | - /** @var string|null */ |
42 | | - private $replyTo; |
43 | | - |
44 | | - /** @var \DateTimeInterface|null */ |
45 | | - private $enqueuedTimeUtc; |
46 | | - |
47 | | - /** @var int|null */ |
48 | | - private $sequenceNumber; |
49 | | - |
50 | | - /** @var int|null */ |
51 | | - private $timeToLive; |
52 | | - |
53 | | - /** @var string|null */ |
54 | | - private $to; |
55 | | - |
56 | | - /** @var \DateTimeInterface|null */ |
57 | | - private $scheduledEnqueueTimeUtc; |
58 | | - |
59 | | - /** @var string|null */ |
60 | | - private $replyToSessionId; |
61 | | - |
62 | | - /** @var string|null */ |
63 | | - private $partitionKey; |
64 | | - |
65 | 17 | public function __construct( |
66 | | - ?string $contentType = null, |
67 | | - ?string $correlationId = null, |
68 | | - ?string $sessionId = null, |
69 | | - ?int $deliveryCount = null, |
70 | | - ?\DateTimeInterface $lockedUntilUtc = null, |
71 | | - ?string $lockToken = null, |
72 | | - ?string $messageId = null, |
73 | | - ?string $label = null, |
74 | | - ?string $replyTo = null, |
75 | | - ?\DateTimeInterface $enqueuedTimeUtc = null, |
76 | | - ?int $sequenceNumber = null, |
77 | | - ?int $timeToLive = null, |
78 | | - ?string $to = null, |
79 | | - ?\DateTimeInterface $scheduledEnqueueTimeUtc = null, |
80 | | - ?string $replyToSessionId = null, |
81 | | - ?string $partitionKey = null |
| 18 | + private ?string $contentType = null, |
| 19 | + private ?string $correlationId = null, |
| 20 | + private ?string $sessionId = null, |
| 21 | + private readonly ?int $deliveryCount = null, |
| 22 | + private readonly ?\DateTimeInterface $lockedUntilUtc = null, |
| 23 | + private readonly ?string $lockToken = null, |
| 24 | + private ?string $messageId = null, |
| 25 | + private ?string $label = null, |
| 26 | + private ?string $replyTo = null, |
| 27 | + private readonly ?\DateTimeInterface $enqueuedTimeUtc = null, |
| 28 | + private readonly ?int $sequenceNumber = null, |
| 29 | + private ?int $timeToLive = null, |
| 30 | + private ?string $to = null, |
| 31 | + private ?\DateTimeInterface $scheduledEnqueueTimeUtc = null, |
| 32 | + private ?string $replyToSessionId = null, |
| 33 | + private ?string $partitionKey = null |
82 | 34 | ) { |
83 | | - $this->contentType = $contentType; |
84 | | - $this->correlationId = $correlationId; |
85 | | - $this->sessionId = $sessionId; |
86 | | - $this->deliveryCount = $deliveryCount; |
87 | | - $this->lockedUntilUtc = $lockedUntilUtc; |
88 | | - $this->lockToken = $lockToken; |
89 | | - $this->messageId = $messageId; |
90 | | - $this->label = $label; |
91 | | - $this->replyTo = $replyTo; |
92 | | - $this->enqueuedTimeUtc = $enqueuedTimeUtc; |
93 | | - $this->sequenceNumber = $sequenceNumber; |
94 | | - $this->timeToLive = $timeToLive; |
95 | | - $this->to = $to; |
96 | | - $this->scheduledEnqueueTimeUtc = $scheduledEnqueueTimeUtc; |
97 | | - $this->replyToSessionId = $replyToSessionId; |
98 | | - $this->partitionKey = $partitionKey; |
99 | 35 | } |
100 | 36 |
|
101 | 37 |
|
|
0 commit comments