/** * Check DB connection * * @return bool */ public function hasConnection() { if (!$this->_write) { return false; } if (!$this->_write->isTableExists($this->_sessionTable)) { return false; } return true; }
/** * Check DB connection * * @return bool */ public function hasConnection() { if (!$this->_write) { return false; } if (!$this->_write->isTableExists($this->_sessionTable)) { return false; } return true; }