CoreExtension::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Openl10n\Cli\ServiceContainer\Extension;
4
5
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\DependencyInjection\Reference;
8
9
class CoreExtension implements Extension
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14
    public function initialize(ContainerBuilder $container)
15
    {
16
        $container
17
            ->register('configuration.dumper', 'Openl10n\Cli\ServiceContainer\Configuration\ConfigurationDumper')
18
        ;
19
    }
20
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public function getName()
25
    {
26
        return 'core';
27
    }
28
}
29