class FieldFilterRegistry implements FilterRegistryInterface (View source)

Properties

protected array $filters

Methods

public
__construct(mixed ...$filters)

FilterRegistry constructor.

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

No description

public
FieldFilterInterface|null
getFilterByIdentifier(string $identifier)

No description

public
getAll()

No description

Details

__construct(mixed ...$filters)

FilterRegistry constructor.

Parameters

mixed ...$filters

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

No description

Parameters

FieldFilterInterface $filter
string|null $identifier

Return Value

FilterRegistryInterface

Exceptions

InvalidArgumentException

FieldFilterInterface|null getFilterByIdentifier(string $identifier)

No description

Parameters

string $identifier

Return Value

FieldFilterInterface|null

FieldFilterInterface[] getAll()

No description

Return Value

FieldFilterInterface[]