class MultipleCondition implements ConditionInterface (View source)

Check against an array of conditions in an AND logical relationship.

Methods

__construct(ConditionInterface[] $conditions)

Constructor.

getConditions()

Get all assigned conditions

boolean
isSatisfied(RequestInterface $request)

Get whether the condition is satisfied

array
getArguments(RequestInterface $request)

Get an array of arguments for use in request

Details

__construct(ConditionInterface[] $conditions)

Constructor.

Parameters

ConditionInterface[] $conditions

ConditionInterface[] getConditions()

Get all assigned conditions

Return Value

ConditionInterface[]

boolean isSatisfied(RequestInterface $request)

Get whether the condition is satisfied

Parameters

RequestInterface $request

Return Value

boolean

array getArguments(RequestInterface $request)

Get an array of arguments for use in request

Parameters

RequestInterface $request

Return Value

array