Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php namespace Modules\UserProfile\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Modules\User\Events\UserWasUpdated;
use Modules\UserProfile\Events\Handlers\EventHandler;
class EventServiceProvider extends ServiceProvider
{
protected $listen = [
UserWasUpdated::class => [
EventHandler::class
]
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.