Skip to content

Commit aa1f47e

Browse files
authored
Add setPusher() to PusherBroadcaster::class (#37033)
1 parent 24e639c commit aa1f47e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php

+11
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,15 @@ public function getPusher()
160160
{
161161
return $this->pusher;
162162
}
163+
164+
/**
165+
* Set the Pusher SDK instance.
166+
*
167+
* @param \Pusher\Pusher $pusher
168+
* @return void
169+
*/
170+
public function setPusher($pusher)
171+
{
172+
$this->pusher = $pusher;
173+
}
163174
}

0 commit comments

Comments
 (0)