| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class HereFactory extends AbstractFactory |
||
| 11 | { |
||
| 12 | protected function getProvider(array $config): ProviderInterface |
||
| 13 | { |
||
| 14 | $client = $config['http_client'] ?: new Client(); |
||
| 15 | |||
| 16 | return new Here($client, $config['app_id'], $config['app_code'], $config['use_cit']); |
||
| 17 | } |
||
| 18 | |||
| 19 | protected static function configureOptionResolver(OptionsResolver $resolver): void |
||
| 32 | } |
||
| 33 | } |
||
| 34 |