public listTables ( ) : array | ||
return | array | An empty array |
public function listTables()
{
try {
$index = $this->connection->getIndex();
$mappings = $index->getMapping();
} catch (ResponseException $e) {
return [];
}
return array_keys($mappings);
}