| Total Complexity | 6 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | abstract class AbstractUser implements CommandInterface |
||
| 19 | { |
||
| 20 | public ?string $uuid; |
||
| 21 | private string $username; |
||
| 22 | private string $email; |
||
| 23 | private string $password; |
||
| 24 | private array $roles; |
||
| 25 | |||
| 26 | public function __construct( |
||
| 38 | } |
||
| 39 | |||
| 40 | final public function uuid(): ?string |
||
| 41 | { |
||
| 42 | return $this->uuid; |
||
| 43 | } |
||
| 44 | |||
| 45 | final public function username(): string |
||
| 46 | { |
||
| 47 | return $this->username; |
||
| 48 | } |
||
| 49 | |||
| 50 | final public function email(): string |
||
| 51 | { |
||
| 52 | return $this->email; |
||
| 53 | } |
||
| 54 | |||
| 55 | final public function password(): string |
||
| 58 | } |
||
| 59 | |||
| 60 | final public function roles(): array |
||
| 63 | } |
||
| 64 | } |
||
| 65 |