AppBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 5

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 5
dl 0
loc 11
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of Packy.
5
 *
6
 * (c) Peter Nijssen
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 AppBundle;
13
14
use AppBundle\DependencyInjection\Compiler\DependencyManagerCompilerPass;
15
use AppBundle\DependencyInjection\Compiler\RepositoryManagerCompilerPass;
16
use AppBundle\DependencyInjection\Compiler\PackageManagerCompilerPass;
17
use Symfony\Component\DependencyInjection\ContainerBuilder;
18
use Symfony\Component\HttpKernel\Bundle\Bundle;
19
20
class AppBundle extends Bundle
21
{
22
    public function build(ContainerBuilder $container)
23
    {
24
        parent::build($container);
25
26
        $container->addCompilerPass(new DependencyManagerCompilerPass());
27
        $container->addCompilerPass(new RepositoryManagerCompilerPass());
28
        $container->addCompilerPass(new PackageManagerCompilerPass());
29
    }
30
}
31