36 lines
583 B
PHP
36 lines
583 B
PHP
<?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'];
|
|
}
|
|
|
|
}
|