Skip to content

Commit

Permalink
Update example for receiving notification [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremeamia committed Jul 6, 2015
1 parent 9d2ad26 commit d623adb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ check for the `Notification` message type.

```php
if ($message['Type'] === 'Notification') {
// Do whatever you want with the message body.
// Do whatever you want with the message body and data.
echo $message['MessageId'] . ': ' . $message['Message'] . "\n";
}
```

Expand Down

0 comments on commit d623adb

Please sign in to comment.