interface FilterRegistryInterface (View source)

Filters for queries are registered as services and retrieved by identifiers.

Registries must implement this interface.

Methods

public
FieldFilterInterface|null
getFilterByIdentifier(string $identifier)

No description

public
getAll()

No description

public
addFilter(FieldFilterInterface $filter, string|null $identifier = null)

No description

Details

FieldFilterInterface|null getFilterByIdentifier(string $identifier)

No description

Parameters

string $identifier

Return Value

FieldFilterInterface|null

FieldFilterInterface[] getAll()

No description

Return Value

FieldFilterInterface[]

FilterRegistryInterface addFilter(FieldFilterInterface $filter, string|null $identifier = null)

No description

Parameters

FieldFilterInterface $filter
string|null $identifier

Return Value

FilterRegistryInterface