%PDF- %PDF-
Direktori : /var/www/html/news/app/Providers/ |
Current File : /var/www/html/news/app/Providers/AppServiceProvider.php |
<?php namespace App\Providers; use App\Listeners\Jwt\TokenAbsent; use App\Listeners\Jwt\TokenExpired; use App\Listeners\Jwt\TokenInvalid; use App\Listeners\Jwt\UserNotFound; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { \Schema::defaultStringLength(191); $this->app->make('events')->listen('tymon.jwt.absent', TokenAbsent::class); $this->app->make('events')->listen('tymon.jwt.expired', TokenExpired::class); $this->app->make('events')->listen('tymon.jwt.invalid', TokenInvalid::class); $this->app->make('events')->listen('tymon.jwt.user_not_found', UserNotFound::class); } /** * Register any application services. * * @return void */ public function register() { // } }