25 lines
478 B
PHP
25 lines
478 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
protected $listen = [
|
|
\App\Events\PaymentCompleted::class => [
|
|
\App\Listeners\SendVirtualAccountPaidNotification::class,
|
|
],
|
|
];
|
|
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
public function shouldDiscoverEvents(): bool
|
|
{
|
|
return false;
|
|
}
|
|
}
|