Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function handle() |
||
37 | { |
||
38 | $this->call('vendor:publish', [ |
||
39 | '--provider' => 'CleaniqueCoders\OpenPayroll\OpenPayrollServiceProvider', |
||
40 | '--force' => true, |
||
41 | ]); |
||
42 | |||
43 | $route = file_get_contents(__DIR__ . '/stubs/routes/web.php.stub'); |
||
44 | $file = base_path('routes/web.php'); |
||
45 | file_put_contents($file, $route, FILE_APPEND | LOCK_EX); |
||
46 | |||
47 | $this->info('Open Payroll has been sucessfully installed! Thanks for using Open Payroll!'); |
||
48 | } |
||
50 |