<?php namespace Bixo\Deal\Providers; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; use Bixo\Deal\Events\DealAction; use Bixo\Deal\Events\DealWorkflow; use Bixo\Deal\Listeners\DealAction as DealActionListener; use Bixo\Deal\Listeners\DealWorkflow as DealWorkflowListener; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var array */ protected $listen = [ DealAction::class => [ DealActionListener::class, ], DealWorkflow::class => [ DealWorkflowListener::class, ], ]; /** * Register any other events for your application. * * @param \Illuminate\Contracts\Events\Dispatcher $events * * @return void */ public function boot() { parent::boot(); // } }