/app/Providers/EventServiceProvider.php
https://bitbucket.org/mdoviedor/hotelium · PHP · 28 lines · 16 code · 4 blank · 8 comment · 0 complexity · cbc16ecdf19b93419196ac6d7cf8b859 MD5 · raw file
- <?php
- namespace App\Providers;
- use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
- use Illuminate\Support\Facades\Event;
- class EventServiceProvider extends ServiceProvider
- {
- /**
- * The event listener mappings for the application.
- *
- * @var array
- */
- protected $listen = [
- 'App\Events\Event' => [
- 'App\Listeners\EventListener',
- ],
- ];
- /**
- * Register any events for your application.
- */
- public function boot()
- {
- parent::boot();
- }
- }