Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
8 | final class Tag extends Token |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $marker; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $tag; |
||
20 | |||
21 | |||
22 | 10 | public function __construct(string $lexeme, int $position, string $marker, string $tag) |
|
28 | 10 | } |
|
29 | |||
30 | |||
31 | 1 | public function getMarker(): string |
|
32 | { |
||
33 | 1 | return $this->marker; |
|
34 | } |
||
35 | |||
36 | |||
37 | 1 | public function getTag(): string |
|
40 | } |
||
41 | |||
43 |