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 | public function __construct( |
||
29 | |||
30 | /** |
||
31 | 35 | * @return string |
|
32 | */ |
||
33 | public function getUri(): string |
||
37 | |||
38 | 35 | /** |
|
39 | 35 | * @return array |
|
40 | 35 | */ |
|
41 | 35 | public function getOptions(): array |
|
45 | |||
46 | /** |
||
47 | * @param array $options |
||
48 | 33 | * |
|
49 | * @return array |
||
50 | 33 | */ |
|
51 | private function cleanOptions(array $options): array |
||
60 | } |
||
61 |