Code

< 40 %
40-60 %
> 60 %
1
<?php
2
3
namespace Bankiru\Api\JsonRpc;
4
5
use Bankiru\Api\JsonRpc\DependencyInjection\Compiler\JmsDriverPass;
6
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\HttpKernel\Bundle\Bundle;
9
10
class JsonRpcBundle extends Bundle
11
{
12
    const VERSION = '2.0';
13
14 1
    public function build(ContainerBuilder $container)
15
    {
16 1
        parent::build($container);
17 1
        $container->addCompilerPass(new JmsDriverPass(), PassConfig::TYPE_BEFORE_REMOVING);
18 1
    }
19
}
20