| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | class CustomerOptinNotCompletedException extends ShopwareHttpException |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @deprecated tag:v6.6.0 the $message parameter will be removed without replacement |
||
| 12 | */ |
||
| 13 | public function __construct(string $id, ?string $message = null) |
||
| 14 | { |
||
| 15 | parent::__construct( |
||
| 16 | $message ?? 'The customer with the id "{{ customerId }}" has not completed the opt-in.', |
||
| 17 | ['customerId' => $id] |
||
| 18 | ); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getErrorCode(): string |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getStatusCode(): int |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getSnippetKey(): string |
||
| 36 |