Completed
Push — feature/EVO-7964_fundInfo-exte... ( eda009...805323 )
by Bastian
62:49
created

GravitonProxyExtensionBundle::getBundles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Provide a Proxy for third party APIs.
4
 */
5
6
namespace Graviton\ProxyExtensionBundle;
7
8
use Graviton\BundleBundle\GravitonBundleInterface;
9
use Graviton\ProxyExtensionBundle\DependencyInjection\Compiler\ApiDefinitionLoaderPass;
10
use Symfony\Component\DependencyInjection\ContainerBuilder;
11
use Symfony\Component\HttpKernel\Bundle\Bundle;
12
13
/**
14
 * GravitonProxyExtensionBundle
15
 *
16
 * @author  List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
17
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
18
 * @link    http://swisscom.ch
19
 */
20
class GravitonProxyExtensionBundle extends Bundle implements GravitonBundleInterface
21
{
22
23
    /**
24
     * {@inheritDoc}
25
     *
26
     * @return \Symfony\Component\HttpKernel\Bundle\Bundle[]
27
     */
28
    public function getBundles()
29
    {
30
        return array();
31
    }
32
33
    /**
34
     * @param ContainerBuilder $container
35
     */
36
    public function build(ContainerBuilder $container)
37
    {
38
        $container->addCompilerPass(new ApiDefinitionLoaderPass());
39
    }
40
}
41