trait SearchFilterable (View source)

Methods

protected
createSearchFilter(string $filter, mixed $value)

Given a filter expression and value construct a {SearchFilter} instance

Details

protected SearchFilter createSearchFilter(string $filter, mixed $value)

Given a filter expression and value construct a {SearchFilter} instance

Parameters

string $filter

E.g. Name:ExactMatch:not, Name:ExactMatch, Name:not, Name

mixed $value

Value of the filter

Return Value

SearchFilter