Completed
Push — master ( 7a803c...5b8a72 )
by Peter
11:20
created

getIndentsCommentsWithoutParent()   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
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace YamlStandards\Model\Config;
6
7
class StandardParametersData
8
{
9
    /**
10
     * @var int
11
     */
12
    private $depth;
13
14
    /**
15
     * @var int
16
     */
17
    private $indents;
18
19
    /**
20
     * @var int
21
     */
22
    private $level;
23
24
    /**
25
     * @var string
26
     */
27
    private $serviceAliasingType;
28
29
    /**
30
     * @var string
31
     */
32
    private $indentsCommentsWithoutParent;
33
34
    /**
35
     * @param int $depth
36
     * @param int $indents
37
     * @param int $level
38
     * @param string $serviceAliasingType
39
     * @param string $indentsCommentsWithoutParent
40
     */
41 31
    public function __construct(
42
        int $depth,
43
        int $indents,
44
        int $level,
45
        string $serviceAliasingType,
46
        string $indentsCommentsWithoutParent
47
    ) {
48 31
        $this->depth = $depth;
49 31
        $this->indents = $indents;
50 31
        $this->level = $level;
51 31
        $this->serviceAliasingType = $serviceAliasingType;
52 31
        $this->indentsCommentsWithoutParent = $indentsCommentsWithoutParent;
53 31
    }
54
55
    /**
56
     * @return int
57
     */
58 3
    public function getDepth(): int
59
    {
60 3
        return $this->depth;
61
    }
62
63
    /**
64
     * @return int
65
     */
66 13
    public function getIndents(): int
67
    {
68 13
        return $this->indents;
69
    }
70
71
    /**
72
     * @return int
73
     */
74 6
    public function getLevel(): int
75
    {
76 6
        return $this->level;
77
    }
78
79
    /**
80
     * @return string
81
     */
82 10
    public function getServiceAliasingType(): string
83
    {
84 10
        return $this->serviceAliasingType;
85
    }
86
87
    /**
88
     * @return string
89
     */
90 8
    public function getIndentsCommentsWithoutParent(): string
91
    {
92 8
        return $this->indentsCommentsWithoutParent;
93
    }
94
}
95