| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/lcmsmodels.com/public_html/app/Providers/ |
Upload File : |
<?php
namespace App\Providers;
use App\Events\NewCommentEvent;
use App\Events\PostCreatedOrUpdatedEvent;
use Overtrue\LaravelFollow\Events\Followed;
use Illuminate\Auth\Events\Registered;
use Overtrue\LaravelLike\Events\Liked;
use App\Listeners\LikeListener;
use App\Listeners\FollowListener;
use App\Listeners\NewCommentListener;
use App\Listeners\PostCreatedOrUpdatedListener;
use Illuminate\Support\Facades\Event;
use App\Listeners\CreateProfileUponRegistration;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
CreateProfileUponRegistration::class,
],
Liked::class => [
LikeListener::class,
],
Followed::class => [
FollowListener::class,
],
NewCommentEvent::class =>
[
NewCommentListener::class,
],
PostCreatedOrUpdatedEvent::class =>
[
PostCreatedOrUpdatedListener::class,
]
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}