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

setDatabase() public method

Sets the database handler.
public setDatabase ( Airship\Engine\Contract\DBInterface $db ) : self
$db Airship\Engine\Contract\DBInterface
return self ($this)
    public function setDatabase(DBInterface $db) : self
    {
        $this->db = $db;
        return $this;
    }