class DateRangeSearchFacet implements JsonSerializable, SearchFacet (View source)

A facet that categorizes hits inside date ranges (or buckets) provided by the user.

Methods

mixed
jsonSerialize()

No description

DateSearchFacet
addRange(string $name, int|string $start, int|string $end)

No description

Details

mixed jsonSerialize()

No description

Return Value

mixed

data which can be serialized by json_encode, which is a value of any type other than a resource.

DateSearchFacet addRange(string $name, int|string $start, int|string $end)

No description

Parameters

string $name
int|string $start
int|string $end

Return Value

DateSearchFacet