ZohoSubscriptionBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

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