Created
December 2, 2016 19:59
-
-
Save zedix/f538f3a7d82e7d7d31c0c5b56d487b4a to your computer and use it in GitHub Desktop.
Revisions
-
zedix created this gist
Dec 2, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ <?php // ... class EventServiceProvider extends ServiceProvider { /** * The event handler mappings for the application. * * @var array */ protected $listen = [ 'App\Events\SomeEvent' => [ 'App\Jobs\SomeJob@handle', 'App\Jobs\SomeOtherJob@handle', 'App\Notifications\Mail\XxxNotification@handle', 'App\Notifications\Slack\XxxNotification@handle', ], ]; }