Tweak how console commands are registered.
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
<?php namespace App\Providers;
|
||||
|
||||
use InspireCommand;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class ArtisanServiceProvider extends ServiceProvider {
|
||||
|
||||
/**
|
||||
* Indicates if loading of the provider is deferred.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $defer = true;
|
||||
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
$this->commands('App\Console\Commands\InspireCommand');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the services provided by the provider.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function provides()
|
||||
{
|
||||
return ['App\Console\Commands\InspireCommand'];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user