NetdudesDataSourceryBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 1
1
<?php
2
3
namespace Netdudes\DataSourceryBundle;
4
5
use Netdudes\DataSourceryBundle\DependencyInjection\Compiler\DataSourceryBundleExtensionServicePass;
6
use Netdudes\DataSourceryBundle\DependencyInjection\Compiler\InterpreterEventSubscriberPass;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\HttpKernel\Bundle\Bundle;
9
10
class NetdudesDataSourceryBundle extends Bundle
11
{
12
    public function build(ContainerBuilder $container)
13
    {
14
        parent::build($container);
15
        $container->addCompilerPass(new DataSourceryBundleExtensionServicePass());
16
        $container->addCompilerPass(new InterpreterEventSubscriberPass());
17
    }
18
}
19