| 1 | <?php |
||
| 11 | final class RedeliveryStamp implements StampInterface |
||
| 12 | { |
||
| 13 | private $retryCount; |
||
| 14 | |||
| 15 | private $redeliveredAt; |
||
| 16 | |||
| 17 | private $exceptionMessage; |
||
| 18 | |||
| 19 | private $flattenException; |
||
| 20 | |||
| 21 | public function __construct(int $retryCount, string $exceptionMessage = null, FlattenException $flattenException = null) |
||
| 28 | |||
| 29 | public static function getRetryCountFromEnvelope(Envelope $envelope): int |
||
| 36 | |||
| 37 | public function getRetryCount(): int |
||
| 41 | |||
| 42 | public function getExceptionMessage(): ?string |
||
| 46 | |||
| 47 | public function getFlattenException(): ?FlattenException |
||
| 51 | |||
| 52 | public function getRedeliveredAt(): \DateTimeInterface |
||
| 56 | } |
||
| 57 |