| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class User implements UserInterface |
||
| 8 | { |
||
| 9 | private ?string $id; |
||
| 10 | |||
| 11 | private ?string $username; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * User constructor. |
||
| 15 | */ |
||
| 16 | public function __construct(?string $id = null, ?string $username = null) |
||
| 17 | { |
||
| 18 | $this->id = $id; |
||
| 19 | $this->username = $username; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getIdentifier(): ?string |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getUsername(): ?string |
||
| 32 |