AppServiceProvider.php 556 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace App\Providers;
  3. use Illuminate\Support\Facades\Schema;
  4. use Illuminate\Pagination\Paginator;
  5. use Illuminate\Support\ServiceProvider;
  6. class AppServiceProvider extends ServiceProvider
  7. {
  8. /**
  9. * Register any application services.
  10. *
  11. * @return void
  12. */
  13. public function register()
  14. {
  15. //
  16. }
  17. /**
  18. * Bootstrap any application services.
  19. *
  20. * @return void
  21. */
  22. public function boot()
  23. {
  24. Schema::defaultStringLength(191);
  25. Paginator::useBootstrap();
  26. }
  27. }