| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class AuthParam extends BaseParam |
||
| 6 | { |
||
| 7 | protected string $username = ''; |
||
| 8 | protected string $password = ''; |
||
| 9 | |||
| 10 | public function getUsername(): string |
||
| 11 | { |
||
| 12 | return $this->username; |
||
| 13 | } |
||
| 14 | |||
| 15 | public function setUsername(string $username): self |
||
| 16 | { |
||
| 17 | $this->username = $username; |
||
| 18 | |||
| 19 | return $this; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getPassword(): string |
||
| 25 | } |
||
| 26 | |||
| 27 | public function setPassword(string $password): self |
||
| 32 | } |
||
| 33 | } |
||
| 34 |