| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class PrivateChannel extends Channel |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Subscribe to the channel. |
||
| 13 | * |
||
| 14 | * @see https://pusher.com/docs/pusher_protocol#presence-channel-events |
||
| 15 | * |
||
| 16 | * @param \Ratchet\ConnectionInterface $connection |
||
| 17 | * @param \stdClass $payload |
||
| 18 | * @return bool |
||
| 19 | * |
||
| 20 | * @throws InvalidSignature |
||
| 21 | */ |
||
| 22 | public function subscribe(ConnectionInterface $connection, stdClass $payload): bool |
||
| 29 |