1234567891011121314151617181920212223242526272829303132333435 |
- <?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\InspireCommand');
- }
- /**
- * Get the services provided by the provider.
- *
- * @return array
- */
- public function provides()
- {
- return ['App\Console\InspireCommand'];
- }
- }
|