Completed
Push — master ( 3db674...2e3aab )
by Remy
03:46
created

MongoDBBundle   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 2
dl 0
loc 12
ccs 5
cts 5
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getContainerExtension() 0 4 1
A build() 0 4 1
1
<?php
2
3
namespace Pouzor\MongoDBBundle;
4
5
6
use Pouzor\MongoDBBundle\DependencyInjection\MongoDBExtension;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\HttpKernel\Bundle\Bundle;
9
10
/**
11
 * Class MongoDBBundle
12
 * @package Pouzor\MongoDBBundle
13
 */
14
class MongoDBBundle extends Bundle
15
{
16 1
    public function getContainerExtension()
17
    {
18 1
        return new MongoDBExtension();
19
    }
20
21 1
    public function build(ContainerBuilder $container)
22
    {
23 1
        parent::build($container);
24 1
    }
25
}
26