wip
This commit is contained in:
parent
ec6f82e487
commit
2c61a798f8
|
|
@ -28,6 +28,11 @@ class Channel
|
|||
return count($this->subscriptions) > 0;
|
||||
}
|
||||
|
||||
public function getSubscriptions(): array
|
||||
{
|
||||
return $this->subscriptions;
|
||||
}
|
||||
|
||||
protected function verifySignature(ConnectionInterface $connection, stdClass $payload)
|
||||
{
|
||||
$signature = "{$connection->socketId}:{$this->channelId}";
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ class ChannelManager
|
|||
if (starts_with($channelId, 'presence-')) {
|
||||
return PresenceChannel::class;
|
||||
}
|
||||
|
||||
return Channel::class;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue