clrghouz/app/Providers/AppServiceProvider.php

34 lines
476 B
PHP
Raw Normal View History

2018-11-15 10:45:49 +00:00
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Laravel\Passport\Passport;
2018-11-15 10:45:49 +00:00
use App\Traits\SingleOrFail;
2018-11-15 10:45:49 +00:00
class AppServiceProvider extends ServiceProvider
{
use SingleOrFail;
/**
* Register any application services.
*
* @return void
*/
public function register()
{
Passport::ignoreMigrations();
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
static::bootSingleOrFail();
}
2018-11-15 10:45:49 +00:00
}