HasFacetList
Builds the AQL filter fragment for a {@see Facet::LIST} facet. Kept as a thin alias over the {@see HasFacetIn} primitive (operator defaults to `any.in`), preserving the historical type name. Composed into the model via {@see FacetTrait}.
Tags
Table of Contents
Methods
- prepareFacetList() : string
- Prepares a list facet (array membership, `ANY IN` by default).
Methods
prepareFacetList()
Prepares a list facet (array membership, `ANY IN` by default).
protected
prepareFacetList(string $key, mixed $value, array<string|int, mixed> &$binds, array<string|int, mixed> $facet, string $doc) : string
Accepts a CSV string, a list, or an {op, val} object selecting the
operator per request (FilterArrayComparator).
Parameters
- $key : string
- $value : mixed
- $binds : array<string|int, mixed>
- $facet : array<string|int, mixed>
- $doc : string