Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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',
- ],
- ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement