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