Prado\Security\TDbUserManager::getDbConnection PHP Method

getDbConnection() public method

public getDbConnection ( ) : TDbConnection
return TDbConnection the database connection that may be used to retrieve user data.
    public function getDbConnection()
    {
        if ($this->_conn === null) {
            $this->_conn = $this->createDbConnection($this->_connID);
            $this->_conn->setActive(true);
        }
        return $this->_conn;
    }