| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class RedisServiceProvider implements ServiceProviderInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param \Pimple\Container $pimple |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | public function register(Container $pimple): void |
||
| 17 | { |
||
| 18 | $this->createRedisClient($pimple); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param \Pimple\Container $container |
||
| 23 | * |
||
| 24 | * @return \Pimple\ServiceProviderInterface |
||
| 25 | */ |
||
| 26 | protected function createRedisClient(Container $container): ServiceProviderInterface |
||
| 39 | } |
||
| 40 | } |
||
| 41 |