phpvms/app/Providers/AppServiceProvider.php
2018-03-11 18:00:42 -05:00

28 lines
568 B
PHP
Executable File

<?php
namespace App\Providers;
use App\Repositories\SettingRepository;
use App\Services\ModuleService;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
use View;
class AppServiceProvider extends ServiceProvider
{
public function boot(): void
{
Schema::defaultStringLength(191);
$this->app->bind('setting', SettingRepository::class);
View::share('moduleSvc', app(ModuleService::class));
}
/**
* Register any application services.
*/
public function register(): void
{
}
}