Configuration   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfigTreeBuilder() 0 11 1
1
<?php
2
/**
3
 *
4
 * @copyright (c) 2013 phpBB Group
5
 * @license http://opensource.org/licenses/gpl-3.0.php GNU General Public License v3
6
 * @author MichaelC
7
 *
8
 */
9
10
namespace AppBundle\DependencyInjection;
11
12
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
13
use Symfony\Component\Config\Definition\ConfigurationInterface;
14
15
/**
16
 * This is the class that validates and merges configuration from your app/config files
17
 *
18
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
19
 */
20
class Configuration implements ConfigurationInterface
21
{
22
	/**
23
	 * {@inheritDoc}
24
	 */
25
	public function getConfigTreeBuilder()
26
	{
27
		$treeBuilder = new TreeBuilder();
28
		$treeBuilder->root('phpbb_website_interface');
29
		//$rootNode = $treeBuilder->root('phpbb_website_interface');
30
31
		// Here you should define the parameters that are allowed to
32
		// configure your bundle. See the documentation linked above for
33
		// more information on that topic.
34
		return $treeBuilder;
35
	}
36
}
37