| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php declare(strict_types = 1); |
||
| 7 | class MaskedCardNumberResponse |
||
| 8 | { |
||
| 9 | |||
| 10 | /** @var string */ |
||
| 11 | private $longMaskedCln; |
||
| 12 | |||
| 13 | /** @var string */ |
||
| 14 | private $maskedCln; |
||
| 15 | |||
| 16 | /** @var DateTimeImmutable */ |
||
| 17 | private $expiration; |
||
| 18 | |||
| 19 | 1 | public function __construct( |
|
| 20 | string $longMaskedCln, |
||
| 21 | string $maskedCln, |
||
| 22 | DateTimeImmutable $expiration |
||
| 23 | ) |
||
| 24 | { |
||
| 25 | 1 | $this->longMaskedCln = $longMaskedCln; |
|
| 26 | 1 | $this->maskedCln = $maskedCln; |
|
| 27 | 1 | $this->expiration = $expiration; |
|
| 28 | 1 | } |
|
| 29 | |||
| 30 | 1 | public function getLongMaskedCln(): string |
|
| 33 | } |
||
| 34 | |||
| 35 | 1 | public function getMaskedCln(): string |
|
| 38 | } |
||
| 39 | |||
| 40 | 1 | public function getExpiration(): DateTimeImmutable |
|
| 43 | } |
||
| 44 | |||
| 46 |