1234567891011121314151617181920212223242526272829303132 |
- <?php
-
- namespace App\Listeners;
-
- use App\Events\ExampleEvent;
- use Illuminate\Queue\InteractsWithQueue;
- use Illuminate\Contracts\Queue\ShouldQueue;
-
- class ExampleListener
- {
- /**
- * Create the event listener.
- *
- * @return void
- */
- public function __construct()
- {
- //
- }
-
- /**
- * Handle the event.
- *
- * @param ExampleEvent $event
- * @return void
- */
- public function handle(ExampleEvent $event)
- {
- //
- }
- }
|