Skip to content

Commit

Permalink
Merge pull request #4767 from Naoray/patch-1
Browse files Browse the repository at this point in the history
[5.7] Fixing listening to other Namespaced events example
  • Loading branch information
taylorotwell authored Nov 20, 2018
2 parents b288337 + 1bae878 commit dd38387
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 dd38387

Please sign in to comment.