1: | <?php |
2: | namespace Worldline\Connect\Sdk\Webhooks; |
3: | |
4: | use Exception; |
5: | |
6: | /** |
7: | * Class SecretKeyNotAvailableException |
8: | * |
9: | * @package Worldline\Connect\Sdk\Webhooks |
10: | */ |
11: | class SecretKeyNotAvailableException extends SignatureValidationException |
12: | { |
13: | /** @var string */ |
14: | private $keyId; |
15: | |
16: | /** |
17: | * @param string $keyId |
18: | * @param string $message |
19: | * @param Exception $previous |
20: | */ |
21: | public function __construct($keyId, $message = null, $previous = null) |
22: | { |
23: | parent::__construct($message, $previous); |
24: | $this->keyId = $keyId; |
25: | } |
26: | |
27: | /** |
28: | * @return string |
29: | */ |
30: | public function getKeyId() |
31: | { |
32: | return $this->keyId; |
33: | } |
34: | } |
35: |