channelManager = $channelManager; $this->browser = $browser; } public function webSocketMessage(ConnectionInterface $connection) { // } public function apiMessage($appId) { // } public function connection(ConnectionInterface $connection) { // } public function disconnection(ConnectionInterface $connection) { // } public function save() { // } }