Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 80% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class Install extends Processor |
||
8 | { |
||
9 | 9 | public function run(): string |
|
10 | { |
||
11 | 9 | $this->log('Start the handler for execution:', self::class); |
|
12 | |||
13 | 9 | if ($this->force || $this->doesntExists()) { |
|
14 | $this->process(); |
||
15 | |||
16 | return Status::COPIED; |
||
17 | } |
||
18 | |||
19 | 9 | return Status::SKIPPED; |
|
20 | 9 | } |
|
21 | |||
22 | 9 | protected function process(): void |
|
30 | } |
||
31 | } |
||
32 |