| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 32 | class UserCreatedEvent extends Event { |
||
| 33 | |||
| 34 | /** @var IUser */ |
||
| 35 | private $user; |
||
| 36 | |||
| 37 | /** @var string */ |
||
| 38 | private $password; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @since 18.0.0 |
||
| 42 | */ |
||
| 43 | public function __construct(IUser $user, |
||
| 44 | string $password) { |
||
| 45 | parent::__construct(); |
||
| 46 | $this->user = $user; |
||
| 47 | $this->password = $password; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @since 18.0.0 |
||
| 52 | */ |
||
| 53 | public function getUser(): IUser { |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @since 18.0.0 |
||
| 59 | */ |
||
| 60 | public function getUid(): string { |
||
| 61 | return $this->user->getUID(); |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @since 18.0.0 |
||
| 66 | */ |
||
| 67 | public function getPassword(): string { |
||
| 69 | } |
||
| 70 | |||
| 72 |