Completed
Push — master ( 081637...206e0a )
by Eric
06:26
created

YamlLugUiExtensionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 3
dl 0
loc 11
rs 10
1
<?php
2
3
/*
4
 * This file is part of the Lug package.
5
 *
6
 * (c) Eric GELOEN <[email protected]>
7
 *
8
 * For the full copyright and license information, please read the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Lug\Bundle\UiBundle\Tests\DependencyInjection;
13
14
use Symfony\Component\Config\FileLocator;
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
17
18
/**
19
 * @author GeLo <[email protected]>
20
 */
21
class YamlLugUiExtensionTest extends AbstractLugUiExtensionTest
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26
    protected function loadConfiguration(ContainerBuilder $container, $configuration)
27
    {
28
        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/Fixtures/Yaml/'));
29
        $loader->load($configuration.'.yml');
30
    }
31
}
32