public function checkConnection() { $this->adapter = new Mysql($this->config); $this->adapter->connect(); return $this->adapter->getDriver()->getConnection()->isConnected(); }