| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class InvalidRecipientException extends TokenException |
||
| 8 | { |
||
| 9 | protected string $recipient; |
||
| 10 | |||
| 11 | public function __construct(string $tokenRecipient, $code = 0, \Throwable $previous = null) |
||
| 12 | { |
||
| 13 | $message = "Token for {$tokenRecipient} did not created yet."; |
||
| 14 | parent::__construct($message, $code, $previous); |
||
| 15 | |||
| 16 | $this->recipient = $tokenRecipient; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getRecipient(): string |
||
| 22 | } |
||
| 23 | } |
||
| 24 |