private function initDb() { DB::setConfig($this->config->getConfigValue('database', 'dsn'), $this->config->getConfigValue('database', 'user'), $this->config->getConfigValue('database', 'password')); }
/** * @return PDO */ private function getDatabaseHandler() { return DB::getConnection(); }