| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 32 | public function __construct(CacheInterface $cache, array $options) |
||
| 33 | { |
||
| 34 | $client = new Client(); |
||
| 35 | $this->serviceFactory = new ServiceFactory($client); |
||
| 36 | |||
| 37 | $baseCacheKey = md5(json_encode($options)); |
||
| 38 | $services = $this->serviceFactory->getServicesByName($options['services'], $options); |
||
| 39 | $domain = $options['domain']; |
||
| 40 | |||
| 41 | parent::__construct($baseCacheKey, $cache, $client, $domain, $services); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |