public function init() { if ($this->loaded) { $this->loadDataSources(); } else { throw new Exception('Can not initialize config: Config is not loaded.'); } }