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

TakeitAmpHtmlBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 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