protected function loadConfigFromFile($path, $appType = StaticApplicationInterface::APP_TYPE_WEB)
    {
        if (!isset($this->_reader)) {
            $reader = new ConfigReader([
                'path' => $path,
                'appType' => $appType,
            ]);
            $this->_reader = $reader;
        }
        return $this->_reader->data;
    }
protected function loadConfigFromFile($path, $appType = StaticApplicationInterface::APP_TYPE_WEB)
    {
        if (!isset($this->_reader)) {
            $reader = new ConfigReader([
                'path' => $path,
                'appType' => $appType,
            ]);
            $this->_reader = $reader;
        }
        return $this->_reader->data;
    }
protected function loadConfigFromFile ( $ path , $ appType = StaticApplicationInterface :: APP_TYPE_WEB ) { if ( ! isset ( $ this -> _reader ) ) { $ reader = new ConfigReader ( [ 'path' => $ path , 'appType' => $ appType , ] ) ; $ this -> _reader = $ reader ; } return $ this -> _reader -> data ; }
Load config data from file
@param string $path
@param string $appType
@return array
Load config data from file