public function getConfig() {
		if(!$this->config) {
			$this->config = $config = new \Asgard\Config\Config($this->getCache());
			if(file_exists($this->params['root'].'/config'))
				$config->loadDir($this->params['root'].'/config', $this->getEnv());
		}
		return $this->config;
	}
public function getConfig() {
		if(!$this->config) {
			$this->config = $config = new \Asgard\Config\Config($this->getCache());
			if(file_exists($this->params['root'].'/config'))
				$config->loadDir($this->params['root'].'/config', $this->getEnv());
		}
		return $this->config;
	}
public function getConfig ( ) { if ( ! $ this -> config ) { $ this -> config = $ config = new \ Asgard \ Config \ Config ( $ this -> getCache ( ) ) ; if ( file_exists ( $ this -> params [ 'root' ] . '/config' ) ) $ config -> loadDir ( $ this -> params [ 'root' ] . '/config' , $ this -> getEnv ( ) ) ; } return $ this -> config ; }
Get the config dependency.
@return \Asgard\Config\ConfigInterface
Get the config dependency .