<?php


namespace Mehrab\OrderService\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Mehrab\OrderService\Listeners\PaymentOrderServiceListener;
use Mehrab\Payment\Events\PaymentOnlineWasSuccessfulEvent;


class EventServiceProvider extends ServiceProvider
{
    protected $listen = [
        PaymentOnlineWasSuccessfulEvent::class => [
            PaymentOrderServiceListener::class,
        ]
    ];

    public function boot()
    {
        //
    }
}
