| Conditions | 3 |
| Paths | 2 |
| Total Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function handle() |
||
| 29 | { |
||
| 30 | $this->info('Installing Key Manager...'); |
||
| 31 | |||
| 32 | $this->info('Publishing configuration...'); |
||
| 33 | |||
| 34 | $this->call('vendor:publish', [ |
||
| 35 | '--provider' => "Bytesfield\KeyManager\KeyManagerServiceProvider", |
||
| 36 | '--tag' => 'config', |
||
| 37 | ]); |
||
| 38 | |||
| 39 | if (! class_exists('CreateKeyClientsTable') && ! class_exists('CreateKeyApiCredentialsTable')) { |
||
| 40 | $this->call('vendor:publish', [ |
||
| 41 | '--provider' => "Bytesfield\KeyManager\KeyManagerServiceProvider", |
||
| 42 | '--tag' => 'migrations', |
||
| 43 | ]); |
||
| 44 | } |
||
| 45 | |||
| 46 | $this->info('Key Manager Installed Successfully.'); |
||
| 47 | } |
||
| 48 | } |
||
| 49 |