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