2014-08-20 00:10:30 -05:00
|
|
|
<?php namespace App\Providers;
|
2014-07-31 15:13:50 -05:00
|
|
|
|
2014-08-11 10:13:20 -05:00
|
|
|
use InspireCommand;
|
2014-07-31 15:13:50 -05:00
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
|
|
class ArtisanServiceProvider extends ServiceProvider {
|
|
|
|
|
|
2014-09-17 22:30:43 -05:00
|
|
|
/**
|
|
|
|
|
* Indicates if loading of the provider is deferred.
|
|
|
|
|
*
|
|
|
|
|
* @var bool
|
|
|
|
|
*/
|
|
|
|
|
protected $defer = true;
|
|
|
|
|
|
2014-07-31 15:13:50 -05:00
|
|
|
/**
|
|
|
|
|
* Register the service provider.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function register()
|
|
|
|
|
{
|
2014-08-20 00:11:13 -05:00
|
|
|
$this->commands('App\Console\InspireCommand');
|
2014-07-31 15:13:50 -05:00
|
|
|
}
|
|
|
|
|
|
2014-09-17 22:30:43 -05:00
|
|
|
/**
|
|
|
|
|
* Get the services provided by the provider.
|
|
|
|
|
*
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
public function provides()
|
|
|
|
|
{
|
|
|
|
|
return ['App\Console\InspireCommand'];
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 20:31:42 +01:00
|
|
|
}
|