Skip to content

Commit

Permalink
Update events.md
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Aug 23, 2024
1 parent ee7a77a commit 442e078
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ weight: 5

wind will fire these events:
- `LaraZeus\Wind\Events\LetterSent`
when a new letter sent from the website
- `LaraZeus\Wind\Events\ReplySent`
when you send a replay from the admin panel
- `LaraZeus\Wind\Events\NewLetterSent`
when you send a new letter from the admin panel

## Register a Listener:

* first create your listener:
*
```bash
php artisan make:listener SendWindNotification --event=LetterSent
```
Expand Down

0 comments on commit 442e078

Please sign in to comment.