phpvms/app/Providers/AppServiceProvider.php

28 lines
512 B
PHP
Raw Normal View History

2017-06-09 02:28:26 +08:00
<?php
namespace App\Providers;
2018-02-21 12:33:09 +08:00
use App\Repositories\SettingRepository;
use Illuminate\Support\Facades\Schema;
2017-06-09 02:28:26 +08:00
use Illuminate\Support\ServiceProvider;
2017-06-09 02:28:26 +08:00
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*/
public function boot()
{
Schema::defaultStringLength(191);
$this->app->bind('setting', SettingRepository::class);
2017-06-09 02:28:26 +08:00
}
/**
* Register any application services.
*/
public function register()
{
2017-06-09 02:28:26 +08:00
}
}