| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | final class SecondFactorId implements Id |
||
| 24 | { |
||
| 25 | private readonly string $value; |
||
| 26 | |||
| 27 | public function __construct(string $value) |
||
| 28 | { |
||
| 29 | $this->value = $value; |
||
|
|
|||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getSecondFactorId(): string |
||
| 36 | { |
||
| 37 | return $this->value; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function equals(Id $other): bool |
||
| 43 | } |
||
| 44 | |||
| 45 | public function __toString(): string |
||
| 48 | } |
||
| 49 | } |
||
| 50 |