Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class Positioned |
||
12 | { |
||
13 | protected string $braced = ''; |
||
14 | protected string $inner = ''; |
||
15 | protected int $position = 0; |
||
16 | |||
17 | 8 | public function __construct(string $braced, string $inner, int $position = 0) |
|
18 | { |
||
19 | 8 | $this->braced = $braced; |
|
20 | 8 | $this->inner = $inner; |
|
21 | 8 | $this->position = $position; |
|
22 | 8 | } |
|
23 | |||
24 | 8 | public function getBraced(): string |
|
27 | } |
||
28 | |||
29 | 8 | public function getInner(): string |
|
30 | { |
||
31 | 8 | return $this->inner; |
|
32 | } |
||
33 | |||
34 | 5 | public function getPos(): int |
|
37 | } |
||
38 | } |
||
39 |