Example #1
0
 /**
  * Get the default connection name.
  *
  * @return string 
  * @static 
  */
 public static function getDefaultConnection()
 {
     return \Illuminate\Database\DatabaseManager::getDefaultConnection();
 }
 protected function init()
 {
     $this->db = $this->app['db'];
     $this->defaultDbConnection = $this->db->getDefaultConnection();
 }