protected function startWorkerPools() : bool
    {
        if (empty($this->config['pool'])) {
            throw new ServerException('No worker pool defined. Check config file.');
        }
        foreach ($this->config['pool'] as $poolName => $poolConfig) {
            $this->startWorkerPool($poolName, $poolConfig);
        }
        return true;
    }
protected function startWorkerPools() : bool
    {
        if (empty($this->config['pool'])) {
            throw new ServerException('No worker pool defined. Check config file.');
        }
        foreach ($this->config['pool'] as $poolName => $poolConfig) {
            $this->startWorkerPool($poolName, $poolConfig);
        }
        return true;
    }
protected function startWorkerPools ( ) : bool { if ( empty ( $ this -> config [ 'pool' ] ) ) { throw new ServerException ( 'No worker pool defined. Check config file.' ) ; } foreach ( $ this -> config [ 'pool' ] as $ poolName => $ poolConfig ) { $ this -> startWorkerPool ( $ poolName , $ poolConfig ) ; } return true ; }
Starts all worker pools defined in configuration.

@return bool
@throws ServerException
Starts all worker pools defined in configuration .