private function startWampServer()
    {
        if (! $this->serverInstance instanceof RatchetWampServer) {
            throw new \Exception("{$this->class} must be an instance of ".RatchetWampServer::class." to create a Wamp server");
        }

        // Decorate the server instance with a WampServer
        $this->serverInstance = new WampServer($this->serverInstance);

        return $this->bootWebSocketServer(true);
    }
private function startWampServer()
    {
        if (! $this->serverInstance instanceof RatchetWampServer) {
            throw new \Exception("{$this->class} must be an instance of ".RatchetWampServer::class." to create a Wamp server");
        }

        // Decorate the server instance with a WampServer
        $this->serverInstance = new WampServer($this->serverInstance);

        return $this->bootWebSocketServer(true);
    }
private function startWampServer ( ) { if ( ! $ this -> serverInstance instanceof RatchetWampServer ) { throw new \ Exception ( "{$this->class} must be an instance of " . RatchetWampServer :: class . " to create a Wamp server" ) ; } // Decorate the server instance with a WampServer $ this -> serverInstance = new WampServer ( $ this -> serverInstance ) ; return $ this -> bootWebSocketServer ( true ) ; }
Deploy a WampServer

@return IoServer
Deploy a WampServer