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;
        }
    }