Completed
Push — master ( 65dcaa...7fa476 )
by Boris
14:20
created

BgyOAuth2ServerBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Bgy\OAuth2ServerBundle;
4
5
use Bgy\OAuth2ServerBundle\DependencyInjection\Compiler\GrantTypeExtensionsCompilerPass;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\HttpKernel\Bundle\Bundle;
8
9
class BgyOAuth2ServerBundle extends Bundle
10
{
11
    public function build(ContainerBuilder $container)
12
    {
13
        parent::build($container);
14
15
        $container->addCompilerPass(new GrantTypeExtensionsCompilerPass());
16
    }
17
}
18