src/Server.php
function getWorkerProperty(string $name) {
        if (!($this->_worker instanceof Worker)) {
            Console::warning('Worker not initialized.');
            return false;
        }
        return $this->_worker->$name;
    }
function getWorkerProperty(string $name) {
        if (!($this->_worker instanceof Worker)) {
            Console::warning('Worker not initialized.');
            return false;
        }
        return $this->_worker->$name;
    }
function getWorkerProperty ( string $ name ) { if ( ! ( $ this -> _worker instanceof Worker ) ) { Console :: warning ( 'Worker not initialized.' ) ; return false ; } return $ this -> _worker -> $ name ; }
获取Worker配置参数

@param $name
@return mixed
获取Worker配置参数