ZichtFrameworkExtraBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 4
Bugs 2 Features 1
Metric Value
eloc 4
c 4
b 2
f 1
dl 0
loc 13
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 6 1
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