Total Complexity | 6 |
Total Lines | 57 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
18 | class AncestorComparatorResult |
||
19 | { |
||
20 | /** @var bool */ |
||
21 | private $changed = false; |
||
22 | |||
23 | /** @var string */ |
||
24 | private $changes = ''; |
||
25 | |||
26 | /** @var HtmlLayoutChange[] */ |
||
27 | private $htmlLayoutChanges = []; |
||
28 | |||
29 | /** |
||
30 | * @return bool |
||
31 | */ |
||
32 | 46 | public function isChanged(): bool |
|
33 | { |
||
34 | 46 | return $this->changed; |
|
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param bool $value |
||
39 | */ |
||
40 | 22 | public function setChanged(bool $value): void |
|
43 | 22 | } |
|
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | 22 | public function getChanges(): string |
|
51 | } |
||
52 | |||
53 | /** |
||
54 | * @param string|null $value |
||
55 | */ |
||
56 | 22 | public function setChanges(?string $value): void |
|
57 | { |
||
58 | 22 | $this->changes = $value ?? ''; |
|
59 | 22 | } |
|
60 | |||
61 | /** |
||
62 | * @return HtmlLayoutChange[] |
||
63 | */ |
||
64 | 22 | public function getHtmlLayoutChanges(): array |
|
67 | } |
||
68 | |||
69 | /** |
||
70 | * @param HtmlLayoutChange[] $value |
||
71 | */ |
||
72 | 22 | public function setHtmlLayoutChanges(?array $value): void |
|
75 | 22 | } |
|
76 | } |
||
77 |