ModelInterface - ThomasDupont/php_websocket GitHub Wiki

php_websocket module

interface ModelInterface

public void addInstance(php_websocket\WebSocket $webSocket);

$webSocket, instance of WebSocket class MUST be implemented To use the WebSocket method inside the models