SHARE
TWEET

Untitled

a guest Aug 17th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. // ...
  4. // ...
  5.  
  6. use App\Events\ProjectCreated;
  7. use App\Listeners\SendProjectCreatedNotification;
  8.  
  9. class EventServiceProvider extends ServiceProvider
  10. {
  11.     // ...
  12.     // ...
  13.     protected $listen = [
  14.         Registered::class => [
  15.             // ...
  16.         ],
  17.         ProjectCreated::class => [
  18.             SendProjectCreatedNotification::class
  19.         ]
  20.     ];
  21.  
  22.     // ...
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top