Skip to content

Commit

Permalink
register the ScheduleListCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
browner12 committed Dec 11, 2020
1 parent 3e16743 commit 3406033
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php
Expand Up @@ -7,6 +7,7 @@
use Illuminate\Cache\Console\ClearCommand as CacheClearCommand;
use Illuminate\Cache\Console\ForgetCommand as CacheForgetCommand;
use Illuminate\Console\Scheduling\ScheduleFinishCommand;
use Illuminate\Console\Scheduling\ScheduleListCommand;
use Illuminate\Console\Scheduling\ScheduleRunCommand;
use Illuminate\Console\Scheduling\ScheduleWorkCommand;
use Illuminate\Contracts\Support\DeferrableProvider;
Expand Down Expand Up @@ -117,6 +118,7 @@ class ArtisanServiceProvider extends ServiceProvider implements DeferrableProvid
'ScheduleFinish' => ScheduleFinishCommand::class,
'ScheduleRun' => ScheduleRunCommand::class,
'ScheduleWork' => ScheduleWorkCommand::class,
'ScheduleList' => ScheduleListCommand::class,
'StorageLink' => 'command.storage.link',
'Up' => 'command.up',
'ViewCache' => 'command.view.cache',
Expand Down Expand Up @@ -938,6 +940,16 @@ protected function registerScheduleWorkCommand()
$this->app->singleton(ScheduleWorkCommand::class);
}

/**
* Register the command.
*
* @return void
*/
protected function registerScheduleListCommand()
{
$this->app->singleton(ScheduleListCommand::class);
}

/**
* Register the command.
*
Expand Down

0 comments on commit 3406033

Please sign in to comment.