34 lines
476 B
PHP
34 lines
476 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Laravel\Passport\Passport;
|
|
|
|
use App\Traits\SingleOrFail;
|
|
|
|
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();
|
|
}
|
|
}
|