Esempio n. 1
0
 /**
  * Get default data source id.
  *
  * @return string 'default'
  */
 public function getDefaultConnection()
 {
     // backward compatible
     if (!$this->config) {
         return $this->getConnection('default');
     }
     $id = $this->config->getDefaultDataSourceId();
     return $this->getConnection($id);
 }