| Conditions | 2 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | protected function runInstaller() |
||
| 23 | { |
||
| 24 | collect([ |
||
| 25 | Installation\PublishAssets::class, |
||
| 26 | ]) |
||
| 27 | ->map(function ($installer) { |
||
| 28 | return new $installer($this, $this->config); |
||
| 29 | }) |
||
| 30 | ->filter(function ($installer) { |
||
| 31 | return $this->option('force') ? true : ! $installer->installed(); |
||
| 32 | })->each(function ($installer) { |
||
| 33 | $installer->install(); |
||
| 34 | $installer->showInfo(); |
||
| 35 | }); |
||
| 36 | |||
| 37 | $this->comment('SleepingOwl Framework successfully updated.'); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |