Completed
Pull Request — master (#1)
by Beñat
02:47
created

SimpleBusDoctrineORMBridgeBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the BenGorUser package.
5
 *
6
 * (c) Beñat Espiña <[email protected]>
7
 * (c) Gorka Laucirica <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace BenGorUser\SimpleBusBridgeBundle;
14
15
use BenGorUser\SimpleBusBridgeBundle\DependencyInjection\Compiler\SimpleBusPass;
16
use BenGorUser\UserBundle\DependentBenGorUserBundle;
17
use BenGorUser\UserBundle\LoadableBundle;
18
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
19
use Symfony\Component\DependencyInjection\ContainerBuilder;
20
use Symfony\Component\HttpKernel\Bundle\Bundle;
21
22
/**
23
 * Simple bus and Doctrine ORM bridge bundle kernel class.
24
 *
25
 * @author Beñat Espiña <[email protected]>
26
 */
27
class SimpleBusDoctrineORMBridgeBundle extends Bundle
28
{
29
    use DependentBenGorUserBundle;
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    public function build(ContainerBuilder $container)
35
    {
36
        $this->checkDependencies(['BenGorUserBundle', 'DoctrineORMBridgeBundle', 'DoctrineBundle'], $container);
37
    }
38
}
39