Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Kernel extends ConsoleKernel |
||
10 | { |
||
11 | /** |
||
12 | * The Artisan commands provided by your application. |
||
13 | * |
||
14 | * @var array |
||
15 | */ |
||
16 | protected $commands = [ |
||
17 | // |
||
18 | ]; |
||
19 | |||
20 | /** |
||
21 | * Define the application's command schedule. |
||
22 | * |
||
23 | * @param \Illuminate\Console\Scheduling\Schedule $schedule |
||
24 | * @return void |
||
25 | */ |
||
26 | protected function schedule(Schedule $schedule) |
||
27 | { |
||
28 | $schedule |
||
29 | ->job(new SyncWithGeneanum) |
||
30 | ->weekly(); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Register the commands for the application. |
||
35 | * |
||
36 | * @return void |
||
37 | */ |
||
38 | protected function commands() |
||
43 | } |
||
44 | } |
||
45 |