src/AbstractQuerySerialyser.php
protected function getOperator($operator) {
         /**
          * @todo change that for a factory
          */
        if(array_key_exists($operator, $this->supportedOperators)) {
            
            $operatorClass = $this->operatorNameSpace . '\\' . ($this->supportedOperators[$operator]);
            $operator = $this->getServiceLocator()->get($operatorClass);
            $operator->setDriverEscaper($this->getDriverEscaper());
            return $operator;
        }
        throw new QueryParsingException('this driver doesn\'t support ' . $operator . ' operator');
    }
protected function getOperator($operator) {
         /**
          * @todo change that for a factory
          */
        if(array_key_exists($operator, $this->supportedOperators)) {
            
            $operatorClass = $this->operatorNameSpace . '\\' . ($this->supportedOperators[$operator]);
            $operator = $this->getServiceLocator()->get($operatorClass);
            $operator->setDriverEscaper($this->getDriverEscaper());
            return $operator;
        }
        throw new QueryParsingException('this driver doesn\'t support ' . $operator . ' operator');
    }
protected function getOperator ( $ operator ) { /**
          * @todo change that for a factory
          */ if ( array_key_exists ( $ operator , $ this -> supportedOperators ) ) { $ operatorClass = $ this -> operatorNameSpace . '\\' . ( $ this -> supportedOperators [ $ operator ] ) ; $ operator = $ this -> getServiceLocator ( ) -> get ( $ operatorClass ) ; $ operator -> setDriverEscaper ( $ this -> getDriverEscaper ( ) ) ; return $ operator ; } throw new QueryParsingException ( 'this driver doesn\'t support ' . $ operator . ' operator' ) ; }
operator command factory

@param type $operator

@return \oat\search\base\command\OperatorConverterInterface
@throws QueryParsingException
operator command factory