BlackCommonBundle   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getContainerExtension() 0 4 1
A registerCommands() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Black package.
5
 *
6
 * (c) Alexandre Balmes <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Black\Bundle\CommonBundle;
13
14
use Black\Bundle\CommonBundle\DependencyInjection\BlackCommonExtension;
15
use Symfony\Component\Console\Application;
16
use Symfony\Component\Finder\Finder;
17
use Symfony\Component\HttpKernel\Bundle\Bundle;
18
19
/**
20
 * Class BlackCommonBundle
21
 */
22
class BlackCommonBundle extends Bundle
23
{
24
    /**
25
     * @return BlackCommonExtension
26
     */
27
    public function getContainerExtension()
28
    {
29
        return new BlackCommonExtension();
30
    }
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function registerCommands(Application $application)
36
    {
37
        return;
38
    }
39
}
40