class QueryVarCondition implements ConditionInterface (View source)

Check against a query var value.

Methods

__construct(string $query_var, string|null $value = null)

Constructor.

boolean
isSatisfied(Request $request)

Get whether the condition is satisfied

array
getArguments(Request $request)

Get an array of arguments for use in request

Details

__construct(string $query_var, string|null $value = null)

Constructor.

Parameters

string $query_var
string|null $value

boolean isSatisfied(Request $request)

Get whether the condition is satisfied

Parameters

Request $request

Return Value

boolean

array getArguments(Request $request)

Get an array of arguments for use in request

Parameters

Request $request

Return Value

array