LaravelSupportCommand/src/LaravelSupportCommandServic...

33 lines
599 B
PHP

<?php
namespace LaravelSupportCommand;
use Illuminate\Support\ServiceProvider;
class LaravelSupportCommandServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any package services.
*
* @return void
*/
public function boot()
{
if ($this->app->runningInConsole()) {
$this->commands([
QueueWorkCommand::class,
ScheduleWorkCommand::class
]);
}
}
}