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