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