Completed
Push — master ( 2cf8eb...09dcac )
by Дмитрий
04:07
created

ParentDefinition::getCFG()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * @author Patsura Dmitry https://github.com/ovr <[email protected]>
4
 */
5
6
namespace PHPSA\Definition;
7
8
use PHPSA\ScopePointer;
9
10
/**
11
 * Abstract Definition with namespace added
12
 */
13
abstract class ParentDefinition extends AbstractDefinition
14
{
15
    /**
16
     * @var string
17
     */
18
    protected $namespace;
19
20
    /**
21
     * @return string
22
     */
23 52
    public function getNamespace()
24
    {
25 52
        return $this->namespace;
26
    }
27
28
    /**
29
     * @param string $namespace
30
     */
31 52
    public function setNamespace($namespace)
32
    {
33 52
        $this->namespace = $namespace;
34 52
    }
35
}
36