public setDatabaseByKey ( string $dbIndex = '' ) : self | ||
$dbIndex | string | |
return | self | ($this) |
public function setDatabaseByKey(string $dbIndex = '') : self
{
$this->db = \Airship\get_database($dbIndex);
return $this;
}