public function autoCompleteData() { $db = $this->getDbConnection(); if ($db !== null) { return ['tableName' => function () use($db) { return $db->getSchema()->getTableNames(); }]; } else { return []; } }