Total Complexity | 7 |
Total Lines | 102 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
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 | * @var string[] |
||
36 | */ |
||
37 | private $alphabeticalPrioritizedKeys; |
||
38 | |||
39 | /** |
||
40 | * @param int $depth |
||
41 | * @param int $indents |
||
42 | * @param int $level |
||
43 | * @param string $serviceAliasingType |
||
44 | * @param string $indentsCommentsWithoutParent |
||
45 | * @param string[] $alphabeticalPrioritizedKeys |
||
46 | */ |
||
47 | 36 | public function __construct( |
|
48 | int $depth, |
||
49 | int $indents, |
||
50 | int $level, |
||
51 | string $serviceAliasingType, |
||
52 | string $indentsCommentsWithoutParent, |
||
53 | array $alphabeticalPrioritizedKeys |
||
54 | ) { |
||
55 | 36 | $this->depth = $depth; |
|
56 | 36 | $this->indents = $indents; |
|
57 | 36 | $this->level = $level; |
|
58 | 36 | $this->serviceAliasingType = $serviceAliasingType; |
|
59 | 36 | $this->indentsCommentsWithoutParent = $indentsCommentsWithoutParent; |
|
60 | 36 | $this->alphabeticalPrioritizedKeys = $alphabeticalPrioritizedKeys; |
|
61 | 36 | } |
|
62 | |||
63 | /** |
||
64 | * @return int |
||
65 | */ |
||
66 | 6 | public function getDepth(): int |
|
67 | { |
||
68 | 6 | return $this->depth; |
|
69 | } |
||
70 | |||
71 | /** |
||
72 | * @return int |
||
73 | */ |
||
74 | 13 | public function getIndents(): int |
|
77 | } |
||
78 | |||
79 | /** |
||
80 | * @return int |
||
81 | */ |
||
82 | 6 | public function getLevel(): int |
|
85 | } |
||
86 | |||
87 | /** |
||
88 | * @return string |
||
89 | */ |
||
90 | 10 | public function getServiceAliasingType(): string |
|
91 | { |
||
92 | 10 | return $this->serviceAliasingType; |
|
93 | } |
||
94 | |||
95 | /** |
||
96 | * @return string |
||
97 | */ |
||
98 | 8 | public function getIndentsCommentsWithoutParent(): string |
|
101 | } |
||
102 | |||
103 | /** |
||
104 | * @return string[] |
||
105 | */ |
||
106 | 6 | public function getAlphabeticalPrioritizedKeys(): array |
|
111 |