Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class ComponentUpdate |
||
8 | { |
||
9 | private ComponentEnum $component; |
||
10 | |||
11 | private bool $isInstantUpdate; |
||
12 | |||
13 | 4 | public function __construct(ComponentEnum $component, bool $isInstantUpdate) |
|
17 | } |
||
18 | |||
19 | 4 | public function getComponent(): ComponentEnum |
|
20 | { |
||
21 | 4 | return $this->component; |
|
22 | } |
||
23 | |||
24 | 4 | public function isInstantUpdate(): bool |
|
27 | } |
||
28 | } |
||
29 |