Completed
Pull Request — develop (#512)
by Adrian
16:23 queued 09:34
created

GravitonProxyExtensionExtension::getConfigDir()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
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 2
    public function getConfigDir()
28
    {
29 2
        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 2
    public function load(array $configs, ContainerBuilder $container)
41
    {
42 2
        parent::load($configs, $container);
43 2
    }
44
}
45