| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class Configuration |
||
| 16 | { |
||
| 17 | private string $username; |
||
| 18 | |||
| 19 | private string $password; |
||
| 20 | |||
| 21 | private string $language; |
||
| 22 | |||
| 23 | 1 | public function __construct(string $username, string $password, string $language) |
|
| 28 | } |
||
| 29 | |||
| 30 | 1 | public function getUsername(): string |
|
| 31 | { |
||
| 32 | 1 | return $this->username; |
|
| 33 | } |
||
| 34 | |||
| 35 | 1 | public function getPassword(): string |
|
| 36 | { |
||
| 37 | 1 | return $this->password; |
|
| 38 | } |
||
| 39 | |||
| 40 | 1 | public function getLanguage(): string |
|
| 41 | { |
||
| 42 | 1 | return $this->language; |
|
| 43 | } |
||
| 44 | |||
| 45 | 1 | public function toArray(): array |
|
| 51 | 1 | ]; |
|
| 52 | } |
||
| 53 | } |
||
| 54 |