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