1 | <?php |
||
8 | final class LocoProject |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $name; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $apiKey; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $indexParameter; |
||
24 | |||
25 | /** |
||
26 | * @param string $name |
||
27 | * @param array $config |
||
28 | */ |
||
29 | 3 | public function __construct(string $name, array $config) |
|
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | 1 | public function getName() |
|
43 | |||
44 | /** |
||
45 | * @return string|null |
||
46 | */ |
||
47 | 1 | public function getApiKey() |
|
51 | |||
52 | /** |
||
53 | * @return string|null |
||
54 | */ |
||
55 | 1 | public function getIndexParameter() |
|
59 | } |
||
60 |