Completed
Push — master ( 57a491...f9215d )
by Rafał
8s
created

TakeitAmpHtmlBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 1
c 2
b 0
f 1
lcom 0
cbo 3
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the takeit/AmpHtmlBundle package.
5
 *
6
 * (c) Rafał Muszyński <[email protected]>
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 Takeit\Bundle\AmpHtmlBundle;
13
14
use Symfony\Component\DependencyInjection\ContainerBuilder;
15
use Symfony\Component\HttpKernel\Bundle\Bundle;
16
use Takeit\Bundle\AmpHtmlBundle\DependencyInjection\Compiler\AddTwigPathsPass;
17
18
/**
19
 * Class TakeitAmpHtmlBundle.
20
 *
21
 * @author Rafał Muszyński <[email protected]>
22
 */
23
class TakeitAmpHtmlBundle extends Bundle
24
{
25
    public function build(ContainerBuilder $container)
26
    {
27
        parent::build($container);
28
        $container->addCompilerPass(new AddTwigPathsPass());
29
    }
30
}
31