Skip to content

Instantly share code, notes, and snippets.

@armababy
Created April 20, 2016 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save armababy/dbbda72821f4d2be7f79c57c4a315ca0 to your computer and use it in GitHub Desktop.
Save armababy/dbbda72821f4d2be7f79c57c4a315ca0 to your computer and use it in GitHub Desktop.
<?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