| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class CpfNotSubscribedToNfgException extends \RuntimeException |
||
| 16 | { |
||
| 17 | public const ERROR_CODE = 'cpf_not_subscribed_to_nfg'; |
||
| 18 | |||
| 19 | /** @var string */ |
||
| 20 | private $cpf; |
||
| 21 | |||
| 22 | 1 | public function __construct(string $cpf, string $message = "", int $code = 0, Throwable $previous = null) |
|
| 23 | { |
||
| 24 | 1 | $this->cpf = $cpf; |
|
| 25 | 1 | parent::__construct($message, $code, $previous); |
|
| 26 | 1 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 1 | public function getCpf(): string |
|
| 34 | } |
||
| 35 | } |
||
| 36 |