phprs\util\IoCFactory::getConf PHP Метод

getConf() публичный Метод

获取配置的属性
public getConf ( string $id = null ) : array | null
$id string
Результат array | null
    public function getConf($id = null)
    {
        if ($id === null) {
            return $this->conf;
        } else {
            if (isset($this->conf[$id]) && isset($this->conf[$id]['properties'])) {
                return $this->conf[$id]['properties'];
            }
            return null;
        }
    }