Skip to content

Commit

Permalink
Update broadcasting.md
Browse files Browse the repository at this point in the history
Fixing listening to other Namespaced events example
  • Loading branch information
Naoray authored Nov 20, 2018
1 parent ed2b295 commit 1bae878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broadcasting.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ You may have noticed in the examples above that we did not specify the full name
Alternatively, you may prefix event classes with a `.` when subscribing to them using Echo. This will allow you to always specify the fully-qualified class name:

Echo.channel('orders')
.listen('.Namespace.Event.Class', (e) => {
.listen('.Namespace\\Event\\Class', (e) => {
//
});

Expand Down

0 comments on commit 1bae878

Please sign in to comment.