Completed
Pull Request — master (#40)
by Marko
198:30 queued 133:26
created

YamlFOSCKEditorExtensionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A loadConfiguration() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the Ivory CKEditor 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 FOS\CKEditorBundle\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 YamlFOSCKEditorExtensionTest extends AbstractFOSCKEditorExtensionTest
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26
    protected function loadConfiguration(ContainerBuilder $container, $configuration)
27
    {
28
        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Fixtures/config/Yaml/'));
29
        $loader->load($configuration.'.yml');
30
    }
31
}
32