public function SqlBase::__construct

8.0.x SqlBase.php public SqlBase::__construct($db_spec = NULL)
7.x SqlBase.php public SqlBase::__construct($db_spec = NULL)
master SqlBase.php public SqlBase::__construct($db_spec = NULL)

Typically, SqlBase objects are constructed via drush_sql_get_class().

File

lib/Drush/Sql/SqlBase.php, line 22

Namespace

Drush\Sql

Class

SqlBase

Code

public function __construct($db_spec = NULL) {
  $this->db_spec = $db_spec;
}