Airship\Engine\Security\Authentication::setDatabaseByKey PHP Method

setDatabaseByKey() public method

Set the database of this authentication library to match this
public setDatabaseByKey ( string $dbIndex = '' ) : self
$dbIndex string
return self ($this)
    public function setDatabaseByKey(string $dbIndex = '') : self
    {
        $this->db = \Airship\get_database($dbIndex);
        return $this;
    }