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