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

MongoDBBundle::getContainerExtension()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 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