PsiDescriptionBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 4
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 5 1
1
<?php
2
3
namespace Psi\Bundle\Description;
4
5
use Psi\Bundle\Description\DependencyInjection\Compiler\DescriptionFactoryPass;
6
use Psi\Bundle\Description\DependencyInjection\Compiler\ExtensionPass;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\HttpKernel\Bundle\Bundle;
9
10
class PsiDescriptionBundle extends Bundle
11
{
12
    public function build(ContainerBuilder $container)
13
    {
14
        $container->addCompilerPass(new DescriptionFactoryPass());
15
        $container->addCompilerPass(new ExtensionPass());
16
    }
17
}
18