Completed
Push — master ( ad9a17...72e61e )
by Amy
03:53
created

TestKernel::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
ccs 4
cts 4
cp 1
cc 1
eloc 3
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Mongrate\MongrateBundle\Tests;
4
5
use Symfony\Component\Config\Loader\LoaderInterface;
6
use Symfony\Component\DependencyInjection\ContainerInterface;
7
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
8
9
class TestKernel extends BaseKernel
10
{
11
    protected $container;
12
13 7
    public function __construct(ContainerInterface $container)
14
    {
15 7
        $this->container = $container;
16 7
        $this->rootDir = './';
17 7
    }
18
19
    public function registerBundles()
20
    {
21
        return [];
22
    }
23
24
    public function registerContainerConfiguration(LoaderInterface $loader)
25
    {
26
    }
27
}
28