IvoryCKEditorBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 4
dl 0
loc 12
ccs 4
cts 4
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the Ivory CKEditor package.
5
 *
6
 * (c) Eric GELOEN <[email protected]>
7
 *
8
 * For the full copyright and license information, please read the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ivory\CKEditorBundle;
13
14
use Ivory\CKEditorBundle\DependencyInjection\Compiler\ResourceCompilerPass;
15
use Ivory\CKEditorBundle\DependencyInjection\Compiler\TemplatingCompilerPass;
16
use Symfony\Component\DependencyInjection\ContainerBuilder;
17
use Symfony\Component\HttpKernel\Bundle\Bundle;
18
19
/**
20
 * @author GeLo <[email protected]>
21
 */
22
class IvoryCKEditorBundle extends Bundle
23
{
24
    /**
25
     * {@inheritdoc}
26
     */
27 220
    public function build(ContainerBuilder $container)
28
    {
29
        $container
30 220
            ->addCompilerPass(new ResourceCompilerPass())
31 220
            ->addCompilerPass(new TemplatingCompilerPass());
32 220
    }
33
}
34