Bundle::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the "elao/api-resources-metadata" package.
5
 *
6
 * Copyright (C) 2016 Elao
7
 *
8
 * @author Elao <[email protected]>
9
 */
10
11
namespace Elao\ApiResourcesMetadata\Bridge\Symfony\Bundle;
12
13
use Symfony\Component\HttpKernel\Bundle\Bundle as BaseBundle;
14
15
class Bundle extends BaseBundle
16
{
17
    public function __construct()
18
    {
19
        $this->getNamespace(); // To be removed once https://github.com/symfony/symfony/pull/20944 is released
20
        $this->name = 'ElaoApiResourcesMetadataBundle';
21
    }
22
}
23