ZohoSubscriptionBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
4
/**
5
 * ZohoSubscriptionBundle
6
 *
7
 * @author Tristan Bessoussa <[email protected]>
8
 */
9
10
namespace StoreFactory\ZohoSubscriptionBundle;
11
12
use Symfony\Component\DependencyInjection\ContainerBuilder;
13
use Symfony\Component\HttpKernel\Bundle\Bundle;
14
15
use StoreFactory\ZohoSubscriptionBundle\CompilerPass\DynamicServiceCacheCompilerPass;
16
17
class ZohoSubscriptionBundle extends Bundle
18
{
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function build(ContainerBuilder $container)
23
    {
24
        parent::build($container);
25
        $container->addCompilerPass(new DynamicServiceCacheCompilerPass());
26
    }
27
}
28