class NegateCondition implements ConditionInterface (View source)

Negate another condition's result.

Methods

__construct(ConditionInterface $condition)

Constructor.

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 $condition)

Constructor.

Parameters

ConditionInterface $condition

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