function get( $id )
    {
        $params = [
            'index' => $this->config->index,
            'type' => $this->config->type,
            'id' => $id,
        ];

        $response = $this->client->get($params);
        return $response['_source'];
    }
function get( $id )
    {
        $params = [
            'index' => $this->config->index,
            'type' => $this->config->type,
            'id' => $id,
        ];

        $response = $this->client->get($params);
        return $response['_source'];
    }
function get ( $ id ) { $ params = [ 'index' => $ this -> config -> index , 'type' => $ this -> config -> type , 'id' => $ id , ] ; $ response = $ this -> client -> get ( $ params ) ; return $ response [ '_source' ] ; }
Returns collected data with the specified id

@param string $id

@return array
Returns collected data with the specified id