Cake\ElasticSearch\Datasource\SchemaCollection::listTables PHP Méthode

listTables() public méthode

Returns an empty array as a shim for fixtures
public listTables ( ) : array
Résultat array An empty array
    public function listTables()
    {
        try {
            $index = $this->connection->getIndex();
            $mappings = $index->getMapping();
        } catch (ResponseException $e) {
            return [];
        }
        return array_keys($mappings);
    }