protected function notEvaluator(array $condition, callable $leafEvaluator)
    {
        if (empty($condition)) {
            return null;
        }

        $result = $this->evaluate($condition[0], $leafEvaluator);
        return $result === null ? null: !$result;
    }
protected function notEvaluator(array $condition, callable $leafEvaluator)
    {
        if (empty($condition)) {
            return null;
        }

        $result = $this->evaluate($condition[0], $leafEvaluator);
        return $result === null ? null: !$result;
    }
protected function notEvaluator ( array $ condition , callable $ leafEvaluator ) { if ( empty ( $ condition ) ) { return null ; } $ result = $ this -> evaluate ( $ condition [ 0 ] , $ leafEvaluator ) ; return $ result === null ? null : ! $ result ; }
Evaluates an array of conditions as if the evaluator had been applied
to a single entry and NOT was applied to the result.

@param array    $conditions    Audience conditions list.
@param callable $leafEvaluator Method to evaluate leaf condition.

@return null|boolean True if the operand evaluates to false.
False if the operand evaluates to true.
Null if conditions is empty or couldn't be evaluated.
Evaluates an array of conditions as if the evaluator had been applied to a single entry and NOT was applied to the result .