1 | <?php |
||
16 | class ConfigurationProvider extends AbstractProvider |
||
17 | { |
||
18 | /** |
||
19 | * @var \HDNET\OnpageIntegration\Service\FileService |
||
20 | */ |
||
21 | protected $fileService; |
||
22 | |||
23 | /** |
||
24 | * Replace the authentication key with |
||
25 | * api-key information |
||
26 | * |
||
27 | * @param string $apiCallKey |
||
28 | * @return array |
||
29 | * @throws \HDNET\Autoloader\Exception |
||
30 | */ |
||
31 | public function getSingleConfiguration($apiCallKey) |
||
38 | |||
39 | /** |
||
40 | * @return array |
||
41 | */ |
||
42 | public function getAllConfigurationData() |
||
46 | |||
47 | /** |
||
48 | * @return array |
||
49 | */ |
||
50 | protected function getApiCallsArray() |
||
59 | |||
60 | /** |
||
61 | * @param array $apiCalls |
||
62 | * @param array $apiCallArrayKeys |
||
63 | * @return array |
||
64 | * @throws \HDNET\OnpageIntegration\Exception\UnknownApiCallException |
||
65 | */ |
||
66 | protected function findMatchingApiCall(array $apiCalls, array $apiCallArrayKeys) |
||
80 | |||
81 | /** |
||
82 | * @param string $apiCallKey |
||
83 | * @return array |
||
84 | */ |
||
85 | protected function getApiCallArrayKeys($apiCallKey) |
||
89 | } |
||
90 |