public function getIndex($name = null)
{
return parent::getIndex($name ?: $this->getConfig('index'));
}
/** * Returns an empty array as a shim for fixtures * * @return array An empty array */ public function listTables() { try { $index = $this->connection->getIndex(); $mappings = $index->getMapping(); } catch (ResponseException $e) { return []; } return array_keys($mappings); }