XabbuhPandaBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Dependencies 3

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
cbo 3
dl 0
loc 12
ccs 4
cts 4
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the XabbuhPandaBundle package.
5
 *
6
 * (c) Christian Flothmann <[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 Xabbuh\PandaBundle;
13
14
use Symfony\Component\DependencyInjection\ContainerBuilder;
15
use Symfony\Component\HttpKernel\Bundle\Bundle;
16
use Xabbuh\PandaBundle\DependencyInjection\Compiler\ProviderPass;
17
18
/**
19
 * XabbuhPandaBundle provides an interface for using the
20
 * {@link http://www.pandastream.com/ Panda Video Encoding Service} to encode
21
 * video files.
22
 *
23
 * @author Christian Flothmann <[email protected]>
24
 */
25
class XabbuhPandaBundle extends Bundle
26
{
27
    /**
28
     * {@inheritDoc}
29
     */
30 1
    public function build(ContainerBuilder $container)
31
    {
32 1
        parent::build($container);
33
34 1
        $container->addCompilerPass(new ProviderPass());
35 1
    }
36
}
37