| Conditions | 3 |
| Paths | 4 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function fire(Filesystem $files) |
||
| 30 | { |
||
| 31 | if (! defined('SLEEPINGOWL_STUB_PATH')) { |
||
| 32 | define('SLEEPINGOWL_STUB_PATH', __DIR__.'/stubs'); |
||
| 33 | } |
||
| 34 | |||
| 35 | if (! $this->confirmToProceed('SleepingOwl Admin')) { |
||
| 36 | return; |
||
| 37 | } |
||
| 38 | |||
| 39 | $this->call('vendor:publish', ['--tag' => 'config']); |
||
| 40 | $this->config = new Repository($this->laravel['config']->get('sleeping_owl')); |
||
| 41 | |||
| 42 | $this->files = $files; |
||
| 43 | |||
| 44 | $this->runInstaller(); |
||
| 45 | } |
||
| 46 | |||
| 57 |