| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 83.33% |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class Iban |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $iban; |
||
| 17 | |||
| 18 | 26 | public function __construct(string $iban) |
|
| 27 | 25 | } |
|
| 28 | |||
| 29 | 2 | public function getIban(): string |
|
| 30 | { |
||
| 31 | 2 | return $this->iban; |
|
| 32 | } |
||
| 33 | |||
| 34 | 7 | public function __toString(): string |
|
| 35 | { |
||
| 36 | 7 | return $this->iban; |
|
| 37 | } |
||
| 38 | |||
| 39 | public function equals($iban): bool |
||
| 42 | } |
||
| 43 | } |
||
| 44 |