Configuration   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 14
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfigTreeBuilder() 0 7 1
1
<?php
2
3
namespace WebnetFr\DatabaseAnonymizer\Config;
4
5
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
6
use Symfony\Component\Config\Definition\ConfigurationInterface;
7
8
/**
9
 * @author Vlad Riabchenko <[email protected]>
10
 */
11
class Configuration implements ConfigurationInterface
12
{
13
    use ConfigurationTrait;
14
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getConfigTreeBuilder()
19
    {
20
        $treeBuilder = new TreeBuilder('webnet_fr_database_anonymizer');
21
22
        $this->configureAnonymizer($treeBuilder->getRootNode());
23
24
        return $treeBuilder;
25
    }
26
}
27