XabbuhPandaBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

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