Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class DeliveryLimitReachedException extends TokenException |
||
11 | { |
||
12 | protected CarbonInterval $timeout; |
||
13 | |||
14 | protected int $attempts; |
||
15 | |||
16 | public function __construct(int $attempts, CarbonInterval $timeout, $code = 0, \Throwable $previous = null) |
||
24 | } |
||
25 | |||
26 | public function getAttempts(): int |
||
27 | { |
||
28 | 1 | return $this->attempts; |
|
29 | } |
||
30 | 1 | ||
31 | 1 | public function getTimeout(): CarbonInterval |
|
34 | 1 | } |
|
35 | } |
||
36 |