| 1 | <?php |
||
| 4 | class Credentials |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * @var string |
||
| 8 | */ |
||
| 9 | private $identifier; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $password; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param string $identifier |
||
| 18 | * @param string $password |
||
| 19 | */ |
||
| 20 | 3 | public function __construct($identifier, $password) |
|
| 21 | { |
||
| 22 | 3 | $this->identifier = $identifier; |
|
| 23 | 3 | $this->password = $password; |
|
| 24 | 3 | } |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | 3 | public function getIdentifier() |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 3 | public function getPassword() |
|
| 41 | } |
||
| 42 |