Total Complexity | 4 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class StandardParametersData |
||
8 | { |
||
9 | /** |
||
10 | * @var int|null |
||
11 | */ |
||
12 | private $depth; |
||
13 | |||
14 | /** |
||
15 | * @var int|null |
||
16 | */ |
||
17 | private $indents; |
||
18 | |||
19 | /** |
||
20 | * @var int|null |
||
21 | */ |
||
22 | private $level; |
||
23 | |||
24 | /** |
||
25 | * @param int|null $depth |
||
26 | * @param int|null $indents |
||
27 | * @param int|null $level |
||
28 | */ |
||
29 | public function __construct(?int $depth, ?int $indents, ?int $level) |
||
30 | { |
||
31 | $this->depth = $depth; |
||
32 | $this->indents = $indents; |
||
33 | $this->level = $level; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return int|null |
||
38 | */ |
||
39 | public function getDepth(): ?int |
||
40 | { |
||
41 | return $this->depth; |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @return int|null |
||
46 | */ |
||
47 | public function getIndents(): ?int |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @return int|null |
||
54 | */ |
||
55 | public function getLevel(): ?int |
||
58 | } |
||
59 | } |
||
60 |