| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | private function addConnection(CacheProvider $cacheAdapter, array $cacheSettings) |
||
| 49 | { |
||
| 50 | $proxy = new \Dafiti\Silex\Cache\Proxy(); |
||
| 51 | $connection = $proxy->getAdapter($cacheSettings); |
||
| 52 | |||
| 53 | $setMethod = sprintf('set%s', $cacheSettings['adapter']); |
||
| 54 | $cacheAdapter->$setMethod($connection); |
||
| 55 | } |
||
| 56 | |||
| 61 |