Total Complexity | 5 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
6 | class Tag |
||
7 | { |
||
8 | /** |
||
9 | * @var Symbol |
||
10 | */ |
||
11 | protected $marker; |
||
12 | |||
13 | /** |
||
14 | * @var Symbol |
||
15 | */ |
||
16 | protected $other; |
||
17 | |||
18 | /** |
||
19 | * Tag constructor. |
||
20 | */ |
||
21 | 21 | public function __construct() |
|
22 | { |
||
23 | 21 | $this->marker = new Symbol(); |
|
24 | 21 | $this->other = new Symbol(); |
|
25 | 21 | } |
|
26 | |||
27 | /** |
||
28 | * @return Symbol |
||
29 | */ |
||
30 | 19 | public function getMarker(): Symbol |
|
31 | { |
||
32 | 19 | return $this->marker; |
|
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param Symbol $marker |
||
37 | */ |
||
38 | 21 | public function setMarker(Symbol $marker): void |
|
41 | 21 | } |
|
42 | |||
43 | /** |
||
44 | * @return Symbol |
||
45 | */ |
||
46 | 19 | public function getOther(): Symbol |
|
47 | { |
||
48 | 19 | return $this->other; |
|
49 | } |
||
50 | |||
51 | /** |
||
52 | * @param Symbol $other |
||
53 | */ |
||
54 | 3 | public function setOther(Symbol $other): void |
|
57 | } |
||
58 | } |