laravel-websockets/src/LaravelEcho/Pusher/Channels/PrivateChannel.php

16 lines
364 B
PHP
Raw Normal View History

2018-11-21 11:13:40 +00:00
<?php
namespace BeyondCode\LaravelWebSockets\LaravelEcho\Pusher\Channels;
2018-11-22 09:54:51 +00:00
use Ratchet\ConnectionInterface;
use stdClass;
2018-11-21 11:13:40 +00:00
class PrivateChannel extends Channel
{
2018-11-22 09:54:51 +00:00
public function subscribe(ConnectionInterface $connection, stdClass $payload)
{
$this->verifySignature($connection, $payload);
2018-11-21 11:13:40 +00:00
2018-11-22 09:54:51 +00:00
parent::subscribe($connection, $payload);
}
2018-11-21 11:13:40 +00:00
}