ConfigBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 2
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getContainerExtension() 0 4 1
1
<?php
2
/**
3
 * This file defines a symfony bundle for bzion configuration
4
 *
5
 * @license    https://github.com/allejo/bzion/blob/master/LICENSE.md GNU General Public License Version 3
6
 */
7
8
namespace BZIon\Config;
9
10
use Symfony\Component\HttpKernel\Bundle\Bundle;
11
12
/**
13
 * Symfony bundle for bzion configuration
14
 *
15
 * Allows parsing and validating a configuration file with a complex structure
16
 */
17
class ConfigBundle extends Bundle
18
{
19
    /**
20
     * {@inheritdoc}
21
     */
22 1
    public function getContainerExtension()
23
    {
24 1
        return new ConfigExtension();
25
    }
26
}
27