1 | <?php |
||
21 | class WithoutOldPasswordChangeUserPasswordCommand |
||
22 | { |
||
23 | /** |
||
24 | * The user email. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | private $email; |
||
29 | |||
30 | /** |
||
31 | * The new plain password. |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | private $newPlainPassword; |
||
36 | |||
37 | /** |
||
38 | * Constructor. |
||
39 | * |
||
40 | * @param string $anEmail The user email |
||
41 | * @param string $aNewPlainPassword The new plain password |
||
42 | */ |
||
43 | public function __construct($anEmail, $aNewPlainPassword) |
||
48 | |||
49 | /** |
||
50 | * Gets the user email. |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | public function email() |
||
58 | |||
59 | /** |
||
60 | * Gets the new plain password. |
||
61 | * |
||
62 | * @return string |
||
63 | */ |
||
64 | public function newPlainPassword() |
||
68 | } |
||
69 |