| 1 | <?php |
||
| 10 | class CredentialsOptions |
||
| 11 | { |
||
| 12 | protected $key; |
||
| 13 | protected $secret; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * CredentialsOptions constructor. |
||
| 17 | * @param array $options |
||
| 18 | */ |
||
| 19 | public function __construct(array $options = []) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | public function getKey() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $key |
||
| 44 | * @return CredentialsOptions |
||
| 45 | */ |
||
| 46 | public function setKey($key) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | public function getSecret() |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param string $secret |
||
| 65 | * @return CredentialsOptions |
||
| 66 | */ |
||
| 67 | public function setSecret($secret) |
||
| 72 | } |
||
| 73 |