Completed
Push — master ( b05893...eedd1b )
by Julito
09:17
created

ChamiloCourseBundle::getBundlePrefix()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/* For licensing terms, see /license.txt */
3
4
namespace Chamilo\CourseBundle;
5
6
use Chamilo\CourseBundle\DependencyInjection\Compiler\RegisterSchemasPass;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\HttpKernel\Bundle\Bundle;
9
10
/**
11
 * Class ChamiloCourseBundle.
12
 */
13
class ChamiloCourseBundle extends Bundle
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function build(ContainerBuilder $container)
19
    {
20
        parent::build($container);
21
22
        $container->addCompilerPass(new RegisterSchemasPass());
23
    }
24
}
25