Code

< 40 %
40-60 %
> 60 %
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