Passed
Push — master ( 724c6f...9da6fd )
by Rafael
06:22
created

Namespaces::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 1
1
<?php
2
/*******************************************************************************
3
 *  This file is part of the GraphQL Bundle package.
4
 *
5
 *  (c) YnloUltratech <[email protected]>
6
 *
7
 *  For the full copyright and license information, please view the LICENSE
8
 *  file that was distributed with this source code.
9
 ******************************************************************************/
10
11
namespace Ynlo\GraphQLBundle\Annotation\Plugin;
12
13
/**
14
 * @Annotation
15
 */
16
class Namespaces extends PluginConfigAnnotation
17
{
18
    /**
19
     * @var bool
20
     */
21
    public $enabled;
22
23
    /**
24
     * @var string
25
     */
26
    public $node;
27
28
    /**
29
     * @var string
30
     */
31
    public $bundle;
32
33
    /**
34
     * {@inheritdoc}
35
     */
36 1
    public function getName(): string
37
    {
38 1
        return 'namespace';
39
    }
40
}
41