| Conditions | 3 |
| Paths | 3 |
| Total Lines | 22 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 17 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 5 | if (false === $container->hasDefinition(Redis\ClientInterface::class)) { |
|
| 29 | $container->setDefinition(Redis\ClientInterface::class, $definition); |
||
| 30 | 5 | } |
|
| 31 | 5 | } |
|
| 32 | 5 | } |
|
| 33 | 5 | ||
| 34 | /** |
||
| 35 | 5 | * {@inheritdoc} |
|
| 36 | 5 | */ |
|
| 37 | public function getAlias(): string |
||
| 38 | 5 | { |
|
| 39 | 3 | return 'sb_redis'; |
|
| 40 | 3 | } |
|
| 41 | } |
||
| 42 |