This repository has been archived on 2026-01-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
coupon/app/Providers/EventServiceProvider.php
2021-09-05 17:20:59 +02:00

23 lines
543 B
PHP

<?php
namespace App\Providers;
use Laravel\Lumen\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
\App\Events\CouponsGenerationEvent::class => [
\App\Listeners\CouponsGenerationListener::class,
],
\App\Events\CouponWasCollectedEvent::class => [
\App\Listeners\BrandNotificationListener::class,
],
];
}