Last change
on this file since 3536fe9 was 2fc88ec, checked in by beratkjufliju <kufliju@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
827 bytes
|
Rev | Line | |
---|
[2fc88ec] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | namespace App\Console;
|
---|
| 4 |
|
---|
| 5 | use Illuminate\Console\Scheduling\Schedule;
|
---|
| 6 | use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
---|
| 7 |
|
---|
| 8 | class Kernel extends ConsoleKernel
|
---|
| 9 | {
|
---|
| 10 | /**
|
---|
| 11 | * The Artisan commands provided by your application.
|
---|
| 12 | *
|
---|
| 13 | * @var array
|
---|
| 14 | */
|
---|
| 15 | protected $commands = [
|
---|
| 16 | //
|
---|
| 17 | ];
|
---|
| 18 |
|
---|
| 19 | /**
|
---|
| 20 | * Define the application's command schedule.
|
---|
| 21 | *
|
---|
| 22 | * @param \Illuminate\Console\Scheduling\Schedule $schedule
|
---|
| 23 | * @return void
|
---|
| 24 | */
|
---|
| 25 | protected function schedule(Schedule $schedule)
|
---|
| 26 | {
|
---|
| 27 | // $schedule->command('inspire')->hourly();
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | /**
|
---|
| 31 | * Register the commands for the application.
|
---|
| 32 | *
|
---|
| 33 | * @return void
|
---|
| 34 | */
|
---|
| 35 | protected function commands()
|
---|
| 36 | {
|
---|
| 37 | $this->load(__DIR__.'/Commands');
|
---|
| 38 |
|
---|
| 39 | require base_path('routes/console.php');
|
---|
| 40 | }
|
---|
| 41 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.