| 1 | <?php |
||
| 5 | final class CreateUser |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $username; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $password; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $displayName; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * CreateUser constructor. |
||
| 24 | * |
||
| 25 | * @param $username |
||
| 26 | * @param $password |
||
| 27 | * @param $displayName |
||
| 28 | */ |
||
| 29 | public function __construct($username, $password, $displayName) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Get the username. |
||
| 38 | * |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | public function getUsername() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Get the password. |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getPassword() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Get the displayName. |
||
| 58 | * |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | public function getDisplayName() |
||
| 65 | } |
||
| 66 |