/** * Gets a information about the current database. * @return Reflection\Database */ public function getDatabaseInfo() { $this->connected || $this->connect(); return new Reflection\Database($this->driver->getReflector(), isset($this->config['database']) ? $this->config['database'] : NULL); }