| Total Complexity | 6 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class ChangePassword |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $password1 = ''; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $password2 = ''; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $currentPassword = ''; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getPassword1() |
||
| 36 | { |
||
| 37 | return $this->password1; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $password1 |
||
| 42 | */ |
||
| 43 | public function setPassword1(string $password1) |
||
| 44 | { |
||
| 45 | $this->password1 = $password1; |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getPassword2() |
||
| 52 | { |
||
| 53 | return $this->password2; |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param string $password2 |
||
| 58 | */ |
||
| 59 | public function setPassword2(string $password2) |
||
| 60 | { |
||
| 61 | $this->password2 = $password2; |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | public function getCurrentPassword() |
||
| 70 | } |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param string $currentPassword |
||
| 74 | */ |
||
| 75 | public function setCurrentPassword(string $currentPassword) |
||
| 78 | } |
||
| 79 | } |
||
| 80 |