Core23DoctrineBundle   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 10
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getPath() 0 3 1
A getContainerExtensionClass() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * (c) Christian Gripp <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Core23\Doctrine\Bridge\Symfony\Bundle;
13
14
use Core23\Doctrine\Bridge\Symfony\DependencyInjection\Core23DoctrineExtension;
15
use Symfony\Component\HttpKernel\Bundle\Bundle;
16
17
final class Core23DoctrineBundle extends Bundle
18
{
19
    public function getPath()
20
    {
21
        return __DIR__.'/..';
22
    }
23
24
    protected function getContainerExtensionClass()
25
    {
26
        return Core23DoctrineExtension::class;
27
    }
28
}
29