Completed
Pull Request — develop (#512)
by Bastian
128:48 queued 63:36
created

GravitonProxyExtensionExtension::load()   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 2
1
<?php
2
/**
3
 * ProxyExtensionBundle configuration
4
 */
5
6
namespace Graviton\ProxyExtensionBundle\DependencyInjection;
7
8
use Graviton\BundleBundle\DependencyInjection\GravitonBundleExtension;
9
use Symfony\Component\DependencyInjection\ContainerBuilder;
10
11
/**
12
 * This is the class that loads and manages your bundle configuration
13
 *
14
 * To learn more see {@link http://scm.to/004w}
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 GravitonProxyExtensionExtension extends GravitonBundleExtension
21
{
22
    /**
23
     * {@inheritDoc}
24
     *
25
     * @return string
26
     */
27
    public function getConfigDir()
28
    {
29
        return __DIR__.'/../Resources/config';
30
    }
31
32
    /**
33
     * Loads current configuration.
34
     *
35
     * @param array            $configs   Set of configuration options
36
     * @param ContainerBuilder $container Instance of the SF2 container
37
     *
38
     * @return void
39
     */
40
    public function load(array $configs, ContainerBuilder $container)
41
    {
42
        parent::load($configs, $container);
43
    }
44
}
45