1 | <?php declare(strict_types=1); |
||
9 | final class ClientConfiguration |
||
10 | { |
||
11 | /** @var string */ |
||
12 | private $uri; |
||
13 | /** @var array */ |
||
14 | private $options; |
||
15 | |||
16 | /** |
||
17 | * ClientConfiguration constructor. |
||
18 | * |
||
19 | * @param string $uri |
||
20 | * @param array $options |
||
21 | */ |
||
22 | 31 | public function __construct( |
|
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | 29 | public function getUri(): string |
|
37 | |||
38 | /** |
||
39 | * @return array |
||
40 | */ |
||
41 | 29 | public function getOptions(): array |
|
45 | |||
46 | /** |
||
47 | * @param array $options |
||
48 | * |
||
49 | * @return array |
||
50 | */ |
||
51 | 29 | private function cleanOptions(array $options): array |
|
60 | } |
||
61 |