public function remove($name) { $key = 'db.adapters.' . $name; $this->globalConfig->deleteKey($key); $this->localConfig->deleteKey($key); return true; }
/** * @param $id * @return bool */ public function delete($id) { $this->model->remove($id); return true; }