protected function buildKernel()
    {
        $this->app->singleton(
            Kernel::class,
            $this->getAppNamespace() . 'Ws\Kernel'
        );
        
        return $this->Kernel = $this->app->make(Kernel::class);
    }
protected function buildKernel()
    {
        $this->app->singleton(
            Kernel::class,
            $this->getAppNamespace() . 'Ws\Kernel'
        );
        
        return $this->Kernel = $this->app->make(Kernel::class);
    }
protected function buildKernel ( ) { $ this -> app -> singleton ( Kernel :: class , $ this -> getAppNamespace ( ) . 'Ws\Kernel' ) ; return $ this -> Kernel = $ this -> app -> make ( Kernel :: class ) ; }
Build the Server's Kernel.

@return \CupOfTea\TwoStream\Foundation\Ws\Kernel
Build the Server s Kernel .