SymfonyBundlesRedisBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 1
eloc 2
c 2
b 0
f 1
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getContainerExtension() 0 3 1
1
<?php
2
3
namespace SymfonyBundles\RedisBundle;
4
5
use SymfonyBundles\RedisBundle\DependencyInjection\RedisExtension;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
8
class SymfonyBundlesRedisBundle extends Bundle
9
{
10
    /**
11
     * {@inheritdoc}
12 1
     */
13
    public function getContainerExtension(): RedisExtension
14 1
    {
15
        return new RedisExtension();
16
    }
17
}
18