ZichtFrameworkExtraBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 4
Bugs 2 Features 1
Metric Value
cc 1
eloc 3
c 4
b 2
f 1
nc 1
nop 1
dl 0
loc 6
rs 10
1
<?php
2
/**
3
 * @author Gerard van Helden <[email protected]>
4
 * @copyright Zicht Online <http://zicht.nl>
5
 */
6
7
namespace Zicht\Bundle\FrameworkExtraBundle;
8
9
use Symfony\Component\DependencyInjection\ContainerBuilder;
10
use Symfony\Component\HttpKernel\Bundle\Bundle;
11
12
/**
13
 * Bundle entry point
14
 */
15
class ZichtFrameworkExtraBundle extends Bundle
16
{
17
    /**
18
     * Build
19
     *
20
     * @param ContainerBuilder $container
21
     */
22
    public function build(ContainerBuilder $container)
23
    {
24
        parent::build($container);
25
        
26
        $container->addCompilerPass(new DependencyInjection\Compiler\RemoveExtensionsPass());
27
        $container->addCompilerPass(new DependencyInjection\Compiler\FilesystemCacheForceUmaskPass());
28
    }
29
}
30