class ConditionEvaluator

Validate Conditions

Methods

bool
isMatching( ConditionCollection $conditions)

Check if an Event matches SerializableCondition

bool
variableOpComparison( mixed $v1, string $o, mixed $v2)

Do variable comparison

Details

at line 33
bool isMatching( ConditionCollection $conditions)

Check if an Event matches SerializableCondition

Parameters

ConditionCollection $conditions Conditions to check against the Event

Return Value

bool

at line 56
bool variableOpComparison( mixed $v1, string $o, mixed $v2)

Do variable comparison

Parameters

mixed $v1 Variable 1
string $o Operator ex : Operators::DIFFERENT
mixed $v2 Variable 2

Return Value

bool

Exceptions

Exception