ArtisanServiceProvider.php 564 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php namespace App\Providers;
  2. use InspireCommand;
  3. use Illuminate\Support\ServiceProvider;
  4. class ArtisanServiceProvider extends ServiceProvider {
  5. /**
  6. * Indicates if loading of the provider is deferred.
  7. *
  8. * @var bool
  9. */
  10. protected $defer = true;
  11. /**
  12. * Register the service provider.
  13. *
  14. * @return void
  15. */
  16. public function register()
  17. {
  18. $this->commands('App\Console\InspireCommand');
  19. }
  20. /**
  21. * Get the services provided by the provider.
  22. *
  23. * @return array
  24. */
  25. public function provides()
  26. {
  27. return ['App\Console\InspireCommand'];
  28. }
  29. }