bookinventory/app/Providers/AppServiceProvider.php

29 lines
510 B
PHP

<?php
namespace App\Providers;
use Illuminate\Pagination\Paginator;
use Schema;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider {
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot() {
Schema::defaultStringLength(191);
Paginator::useBootstrap();
}
/**
* Register any application services.
*
* @return void
*/
public function register() {
//
}
}