src/Keboola/Syrup/Elasticsearch/ComponentIndex.php
public function getMapping()
    {
        $params['index'] = $this->getLastIndexName();
        $params['type'] = 'jobs';

        return $this->client->indices()->getMapping($params);
    }
public function getMapping()
    {
        $params['index'] = $this->getLastIndexName();
        $params['type'] = 'jobs';

        return $this->client->indices()->getMapping($params);
    }
public function getMapping ( ) { $ params [ 'index' ] = $ this -> getLastIndexName ( ) ; $ params [ 'type' ] = 'jobs' ; return $ this -> client -> indices ( ) -> getMapping ( $ params ) ; }
Return mapping from latest index
@return array mapping resource
Return mapping from latest index