|
@@ -5,6 +5,13 @@ 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.
|
|
|
*
|
|
@@ -15,4 +22,14 @@ class ArtisanServiceProvider extends ServiceProvider {
|
|
|
$this->commands('App\Console\InspireCommand');
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Get the services provided by the provider.
|
|
|
+ *
|
|
|
+ * @return array
|
|
|
+ */
|
|
|
+ public function provides()
|
|
|
+ {
|
|
|
+ return ['App\Console\InspireCommand'];
|
|
|
+ }
|
|
|
+
|
|
|
}
|