Skip to content

Commit f711858

Browse files
karlos545lukewaite
authored andcommitted
Update the Readme to include @jcsoriano's feedback
1 parent 6c40691 commit f711858

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ The `Integration Key` listed for your new integration is what you need to set in
9494
See the [PagerDuty v2 Events API documentation](https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2)
9595
for more information about what these options will do.
9696

97+
## Usage
98+
99+
```php
100+
Notification::route('PagerDuty', '[my integration key]')->notify(new BasicNotification);
101+
```
102+
103+
_When using `Notification::route` be sure to reference 'PagerDuty' as the Channel._
104+
97105
## Changelog
98106

99107
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

0 commit comments

Comments
 (0)