protected function getEvaluatorByOperatorType($operator)
    {
        $evaluatorsByOperator = array();
        $evaluatorsByOperator[self::AND_OPERATOR] = 'andEvaluator';
        $evaluatorsByOperator[self::OR_OPERATOR] = 'orEvaluator';
        $evaluatorsByOperator[self::NOT_OPERATOR] = 'notEvaluator';

        return $evaluatorsByOperator[$operator];
    }
protected function getEvaluatorByOperatorType($operator)
    {
        $evaluatorsByOperator = array();
        $evaluatorsByOperator[self::AND_OPERATOR] = 'andEvaluator';
        $evaluatorsByOperator[self::OR_OPERATOR] = 'orEvaluator';
        $evaluatorsByOperator[self::NOT_OPERATOR] = 'notEvaluator';

        return $evaluatorsByOperator[$operator];
    }
protected function getEvaluatorByOperatorType ( $ operator ) { $ evaluatorsByOperator = array ( ) ; $ evaluatorsByOperator [ self :: AND_OPERATOR ] = 'andEvaluator' ; $ evaluatorsByOperator [ self :: OR_OPERATOR ] = 'orEvaluator' ; $ evaluatorsByOperator [ self :: NOT_OPERATOR ] = 'notEvaluator' ; return $ evaluatorsByOperator [ $ operator ] ; }
Returns corresponding evaluator method name for the given operator.

@param mixed $operator Operator to get relevant evaluator method.

@return string Corresponding method to the given operator.
Returns corresponding evaluator method name for the given operator .