Airship\Engine\Security\Authentication::setDatabase PHP 메소드

setDatabase() 공개 메소드

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