protected function buildDispatcher()
    {
        $this->app->singleton(
            'Ratchet\Wamp\WampServerInterface',
            Dispatcher::class
        );
        
        return $this->Dispatcher = $this->app->make('Ratchet\Wamp\WampServerInterface', [$this->getSession(), $this->buildKernel(), clone $this->out]);
    }
protected function buildDispatcher()
    {
        $this->app->singleton(
            'Ratchet\Wamp\WampServerInterface',
            Dispatcher::class
        );
        
        return $this->Dispatcher = $this->app->make('Ratchet\Wamp\WampServerInterface', [$this->getSession(), $this->buildKernel(), clone $this->out]);
    }
protected function buildDispatcher ( ) { $ this -> app -> singleton ( 'Ratchet\Wamp\WampServerInterface' , Dispatcher :: class ) ; return $ this -> Dispatcher = $ this -> app -> make ( 'Ratchet\Wamp\WampServerInterface' , [ $ this -> getSession ( ) , $ this -> buildKernel ( ) , clone $ this -> out ] ) ; }
Build the Server's Dispatcher.

@return \CupOfTea\TwoStream\Server\Dispatcher
Build the Server s Dispatcher .