Completed
Push — master ( 664783...554f9d )
by
unknown
15:59
created

Configuration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfigTreeBuilder() 0 11 1
1
<?php
2
/**
3
 * Start up interface
4
 */
5
namespace Graviton\AnalyticsBundle\DependencyInjection;
6
7
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
8
use Symfony\Component\Config\Definition\ConfigurationInterface;
9
10
/**
11
 * @author   List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
12
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
13
 * @link     http://swisscom.ch
14
 */
15
class Configuration implements ConfigurationInterface
16
{
17
    /**
18
     * Initial Configuration for sf.
19
     * @return TreeBuilder
20
     */
21 2
    public function getConfigTreeBuilder()
22
    {
23 2
        $treeBuilder = new TreeBuilder();
24 2
        $treeBuilder->root('graviton_analytics');
25
26
        // Here you should define the parameters that are allowed to
27
        // configure your bundle. See the documentation linked above for
28
        // more information on that topic.
29
30 2
        return $treeBuilder;
31
    }
32
}
33