BingemerInwxExtension   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 8 1
1
<?php
2
/**
3
     * Created by PhpStorm.
4
     * User: joerg
5
     * Date: 14.02.16
6
     * Time: 19:38
7
     */
8
namespace Bingemer\InwxBundle\DependencyInjection;
9
10
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
11
use Symfony\Component\DependencyInjection\ContainerBuilder;
12
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
13
use Symfony\Component\Config\FileLocator;
14
15
class BingemerInwxExtension extends Extension
16
{
17
    public function load(array $configs, ContainerBuilder $container)
18
    {
19
        $loader = new YamlFileLoader(
20
            $container,
21
            new FileLocator(__DIR__ . '/../Resources/config')
22
        );
23
        $loader->load('services.yml');
24
    }
25
}