Skip to content

Commit

Permalink
Add setPusher() to PusherBroadcaster::class (#37033)
Browse files Browse the repository at this point in the history
  • Loading branch information
vdauchy authored Apr 19, 2021
1 parent 24e639c commit aa1f47e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,15 @@ public function getPusher()
{
return $this->pusher;
}

/**
* Set the Pusher SDK instance.
*
* @param \Pusher\Pusher $pusher
* @return void
*/
public function setPusher($pusher)
{
$this->pusher = $pusher;
}
}

0 comments on commit aa1f47e

Please sign in to comment.