Files
phpvms/app/Providers/AppServiceProvider.php
2018-03-11 10:55:20 -05:00

27 lines
532 B
PHP
Executable File

<?php
namespace App\Providers;
use App\Repositories\SettingRepository;
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('SKIN_NAME', config('phpvms.skin'));
}
/**
* Register any application services.
*/
public function register(): void
{
}
}