app = new stdClass; $this->app->id = $appId; $this->socketId = $socketId; } /** * Send data to the connection * @param string $data * @return \Ratchet\ConnectionInterface */ function send($data) { // } /** * Close the connection * * @return void */ function close() { // } }