private function getOldFacetParams(array $facetBuilders)
    {
        $facetParamsGrouped = array_map(
            function ($facetBuilder) {
                return $this->facetBuilderVisitor->visitBuilder($facetBuilder, spl_object_hash($facetBuilder));
            },
            $this->filterOldFacetBuilders($facetBuilders)
        );

        return $this->formatOldFacetParams($facetParamsGrouped);
    }
private function getOldFacetParams(array $facetBuilders)
    {
        $facetParamsGrouped = array_map(
            function ($facetBuilder) {
                return $this->facetBuilderVisitor->visitBuilder($facetBuilder, spl_object_hash($facetBuilder));
            },
            $this->filterOldFacetBuilders($facetBuilders)
        );

        return $this->formatOldFacetParams($facetParamsGrouped);
    }
private function getOldFacetParams ( array $ facetBuilders ) { $ facetParamsGrouped = array_map ( function ( $ facetBuilder ) { return $ this -> facetBuilderVisitor -> visitBuilder ( $ facetBuilder , spl_object_hash ( $ facetBuilder ) ) ; } , $ this -> filterOldFacetBuilders ( $ facetBuilders ) ) ; return $ this -> formatOldFacetParams ( $ facetParamsGrouped ) ; }
Converts an array of facet builder objects to a Solr query parameters representation.

This method uses spl_object_hash() to get id of each and every facet builder, as this
is expected by {@link \EzSystems\EzPlatformSolrSearchEngine\ResultExtractor}.

@param \eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder[] $facetBuilders

@return array
Converts an array of facet builder objects to a Solr query parameters representation .