Configuration   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 3
dl 0
loc 19
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfigTreeBuilder() 0 13 1
1
<?php
2
3
namespace Kendrick\SymfonyDebugToolbarGit\DependencyInjection;
4
5
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
6
use Symfony\Component\Config\Definition\ConfigurationInterface;
7
8
/**
9
 * Class Configuration
10
 * @package Kendrick\SymfonyDebugToolbarGit\DependencyInjection
11
 */
12
class Configuration implements ConfigurationInterface
13
{
14
	/**
15
	 * {@inheritdoc}
16
	 */
17
	public function getConfigTreeBuilder()
18
	{
19
		$treeBuilder = new TreeBuilder();
20
		$rootNode = $treeBuilder->root('symfony_debug_toolbar_git');
21
22
		$rootNode
23
			->children()
24
			->scalarNode('repository_commit_url')
25
			->end()
26
		;
27
28
		return $treeBuilder;
29
	}
30
}
31