dstpabuaran.com/app/Providers/EventServiceProvider.php

22 lines
448 B
PHP

<?php
namespace App\Providers;
use App\Listeners\NotifyDeveloperOnError;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Log\Events\MessageLogged;
class EventServiceProvider extends ServiceProvider
{
protected $listen = [
MessageLogged::class => [
NotifyDeveloperOnError::class,
],
];
public function boot(): void
{
parent::boot();
}
}