Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | public function boot() : void |
||
39 | { |
||
40 | // Publishing of configuration |
||
41 | $this->publishes([ |
||
42 | $this->config => config_path('backup-shield.php'), |
||
43 | ]); |
||
44 | |||
45 | // Listen for the "BackupZipWasCreated" event |
||
46 | Event::listen( |
||
47 | BackupZipWasCreated::class, |
||
48 | PasswordProtectZip::class |
||
49 | ); |
||
50 | |||
51 | parent::boot(); |
||
52 | } |
||
66 |