Code

< 40 %
40-60 %
> 60 %
1
<?php
2
3
namespace Pgs\RestfonyBundle;
4
5
use Pgs\RestfonyBundle\DependencyInjection\Compiler\RegisterRestModulesCompilerPass;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\HttpKernel\Bundle\Bundle;
8
9
/**
10
 * @author MichaƂ Sikora
11
 */
12
class PgsRestfonyBundle extends Bundle
13
{
14
    /**
15
     * @param ContainerBuilder $container
16
     */
17 1
    public function build(ContainerBuilder $container)
18
    {
19 1
        parent::build($container);
20 1
        $container->addCompilerPass(new RegisterRestModulesCompilerPass());
21 1
    }
22
}
23