Skip to content

Commit

Permalink
Merge branch '5.3' of https://github.com/kduma/framework into kduma-5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 22, 2016
2 parents 6e26cd0 + 2407eee commit f13991c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public function broadcastWith()
*/
protected function channelName()
{
if (method_exists($this->notifiable, 'broadcastNotificationChannelName')) {
return $this->notifiable->broadcastNotificationChannelName($this->notification);
}

$class = str_replace('\\', '.', get_class($this->notifiable));

return $class.'.'.$this->notifiable->getKey();
Expand Down

0 comments on commit f13991c

Please sign in to comment.