class MultipleCondition implements ConditionInterface (View source)

Check against an array of conditions in an AND logical relationship

Methods

__construct(array $conditions)

Constructor

boolean
isSatisfied(Request $request)

Get whether the condition is satisfied

array
getArguments(Request $request)

Get an array of arguments for use in request

getConditions()

Get all assigned conditions

Details

__construct(array $conditions)

Constructor

Parameters

array $conditions

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

ConditionInterface[] getConditions()

Get all assigned conditions

Return Value

ConditionInterface[]