mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00

-- When upload a video to a certain category, this video will be part of a user group automatically -- one category can add your video in more than one user group -- Allow user add some extra info in JSON format, for example bank info and other thing -- This is based on users_extra_info table -- add full text search https://github.com/WWBN/AVideo/issues/4343
28 lines
966 B
PHP
28 lines
966 B
PHP
<?php
|
|
namespace Ratchet;
|
|
use Ratchet\ConnectionInterface;
|
|
use Ratchet\MessageComponentInterface;
|
|
use Ratchet\WebSocket\WsServerInterface;
|
|
use Ratchet\Wamp\WampServerInterface;
|
|
|
|
class NullComponent implements MessageComponentInterface, WsServerInterface, WampServerInterface {
|
|
public function onOpen(ConnectionInterface $conn) {}
|
|
|
|
public function onMessage(ConnectionInterface $conn, $msg) {}
|
|
|
|
public function onClose(ConnectionInterface $conn) {}
|
|
|
|
public function onError(ConnectionInterface $conn, \Exception $e) {}
|
|
|
|
public function onCall(ConnectionInterface $conn, $id, $topic, array $params) {}
|
|
|
|
public function onSubscribe(ConnectionInterface $conn, $topic) {}
|
|
|
|
public function onUnSubscribe(ConnectionInterface $conn, $topic) {}
|
|
|
|
public function onPublish(ConnectionInterface $conn, $topic, $event, array $exclude = array(), array $eligible = array()) {}
|
|
|
|
public function getSubProtocols() {
|
|
return array();
|
|
}
|
|
}
|