channelManager = $channelManager; $this->browser = $browser; } /** * Handle the incoming websocket message. * * @param \Ratchet\ConnectionInterface $connection * @return void */ public function webSocketMessage(ConnectionInterface $connection) { // } /** * Handle the incoming API message. * * @param mixed $appId * @return void */ public function apiMessage($appId) { // } /** * Handle the new conection. * * @param \Ratchet\ConnectionInterface $connection * @return void */ public function connection(ConnectionInterface $connection) { // } /** * Handle disconnections. * * @param \Ratchet\ConnectionInterface $connection * @return void */ public function disconnection(ConnectionInterface $connection) { // } /** * Save all the stored statistics. * * @return void */ public function save() { // } }