public function getDriverType($id) { $config = $this->getDataSource($id); return $config['driver']; }