| 1 | <?php |
||
| 9 | final class Credentials |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | * |
||
| 14 | * @JMS\Type("string") |
||
| 15 | * @JMS\SerializedName("password") |
||
| 16 | */ |
||
| 17 | private $password; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | * |
||
| 22 | * @JMS\Type("string") |
||
| 23 | * @JMS\SerializedName("masterPassword") |
||
| 24 | */ |
||
| 25 | private $masterPassword; |
||
| 26 | |||
| 27 | public function __construct(string $password, string $masterPassword) |
||
| 32 | |||
| 33 | public function password(): string |
||
| 37 | |||
| 38 | public function masterPassword(): string |
||
| 42 | } |
||
| 43 |