public function initialize()
    {
        if (! $this->app instanceof Container) {
            throw new SandboxException('A base app has not been set.');
        }

        $this->setInitialConfig();
        $this->setInitialProviders();
        $this->setInitialResetters();

        return $this;
    }
public function initialize()
    {
        if (! $this->app instanceof Container) {
            throw new SandboxException('A base app has not been set.');
        }

        $this->setInitialConfig();
        $this->setInitialProviders();
        $this->setInitialResetters();

        return $this;
    }
public function initialize ( ) { if ( ! $ this -> app instanceof Container ) { throw new SandboxException ( 'A base app has not been set.' ) ; } $ this -> setInitialConfig ( ) ; $ this -> setInitialProviders ( ) ; $ this -> setInitialResetters ( ) ; return $ this ; }
Initialize based on base app.

@throws \SwooleTW\Http\Exceptions\SandboxException
Initialize based on base app .