Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <?php
  2. // ...
  3.  
  4. class EventServiceProvider extends ServiceProvider
  5. {
  6. /**
  7. * The event handler mappings for the application.
  8. *
  9. * @var array
  10. */
  11. protected $listen = [
  12. 'App\Events\SomeEvent' => [
  13. 'App\Jobs\SomeJob@handle',
  14. 'App\Jobs\SomeOtherJob@handle',
  15. 'App\Notifications\Mail\XxxNotification@handle',
  16. 'App\Notifications\Slack\XxxNotification@handle',
  17. ],
  18. ];
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement