class NegateCondition implements ConditionInterface (View source)

Negate another condition's result.

Methods

__construct(mixed $condition)

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

Constructor.

Parameters

mixed $condition

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