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