CoffreoJMSTranslationJsExtractorExtension   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 8
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 5 1
1
<?php
2
3
/**
4
 * This file is part of Coffreo project "coffreo/jms-translation-js-extractor-bundle"
5
 *
6
 * (c) Coffreo SAS <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Coffreo\JMSTranslationJsExtractorBundle\DependencyInjection;
13
14
use Symfony\Component\Config\FileLocator;
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
use Symfony\Component\DependencyInjection\Extension\Extension;
17
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
18
19
class CoffreoJMSTranslationJsExtractorExtension extends Extension
20
{
21 1
    public function load(array $configs, ContainerBuilder $container)
22
    {
23 1
        $loader = new YamlFileLoader($container, new FileLocator(dirname(__DIR__).'/Resources/config'));
24 1
        $loader->load('services.yml');
25 1
    }
26
}
27