class FilterManager

Properties

protected FilterInterface[]> $filters

Methods

__construct(AbstractFulltextFilter|null $fulltext = null)

No description

void
add(FilterInterface $filter)

No description

void
apply(SearchState $search, array $filters)

No description

void
applyFilters(SearchState $search, array $filters)

No description

void
applyFulltext(SearchState $search, string|null $query)

No description

AbstractFulltextFilter|null
getFulltext()

No description

Details

__construct(AbstractFulltextFilter|null $fulltext = null)

Parameters

AbstractFulltextFilter|null $fulltext

void add(FilterInterface $filter)

Parameters

FilterInterface $filter

Return Value

void

void apply(SearchState $search, array $filters)

Parameters

SearchState $search
array $filters

Return Value

void

protected void applyFilters(SearchState $search, array $filters)

Parameters

SearchState $search
array $filters

Return Value

void

protected void applyFulltext(SearchState $search, string|null $query)

Parameters

SearchState $search
string|null $query

Return Value

void

AbstractFulltextFilter|null getFulltext()

Return Value

AbstractFulltextFilter|null