Cake\ElasticSearch\Datasource\SchemaCollection::listTables PHP 메소드

listTables() 공개 메소드

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