ProductServiceProvider.php 589 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Packages\Product;
  3. use Illuminate\Support\ServiceProvider;
  4. class ProductServiceProvider extends ServiceProvider
  5. {
  6. /**
  7. * Register any application services.
  8. *
  9. * @return void
  10. */
  11. public function register()
  12. {
  13. //
  14. }
  15. /**
  16. * Bootstrap any application services.
  17. *
  18. * @return void
  19. */
  20. public function boot()
  21. {
  22. $this->loadRoutesFrom(__DIR__ . '/routes/web.php');
  23. $this->loadViewsFrom(__DIR__ . '/views', 'product');
  24. $this->loadMigrationsFrom(__DIR__ . '/database/migrations');
  25. }
  26. }