Conditions | 3 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function handle() |
||
28 | { |
||
29 | $this->line('Starting application backup'); |
||
30 | $this->line('Please wait...'); |
||
31 | |||
32 | $files = $this->option('databaseOnly') ? false : true; |
||
33 | $database = $this->option('filesOnly') ? false : true; |
||
34 | |||
35 | ApplicationBackupJob::dispatch($database, $files)->onConnection('sync'); |
||
36 | |||
37 | $this->line('Backup Completed'); |
||
38 | return 0; |
||
39 | } |
||
41 |