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

Configuration::getConfigTreeBuilder()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 11
ccs 4
cts 4
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
crap 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