Created
December 2, 2016 19:59
-
-
Save zedix/f538f3a7d82e7d7d31c0c5b56d487b4a to your computer and use it in GitHub Desktop.
This file contains 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 characters
<?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', | |
], | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment