Méthode |
Description |
|
__construct ( array $visitors = [] ) |
Construct from optional visitor array. |
|
addVisitor ( FacetBuilderVisitor $visitor ) |
Adds visitor. |
|
canMap ( string $name ) : boolean |
Check if visitor is applicable to current facet result. |
|
canVisit ( eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder $facetBuilder ) : boolean |
Check if visitor is applicable to current facet builder. |
|
map ( string $name, mixed $data ) : eZ\Publish\API\Repository\Values\Content\Search\Facet |
Map Elasticsearch facet result back to facet objects. |
|
visit ( eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder $facetBuilder ) : mixed |
Map facet builder to a proper Elasticsearch representation. |
|