src/AbstractQuerySerialyser.php
protected function parseOperation(QueryCriterionInterface $operation) {
        
        $operation->setValue($this->getOperationValue($operation->getValue()));

        $command = $this->prepareOperator()->getOperator($operation->getOperator())->convert($operation);
        
        $this->setConditions($command , $operation->getAnd(), 'and');
        $this->setConditions($command , $operation->getOr(), 'or');
        $this->addOperator($command);
        
        return $this;
        
    }
protected function parseOperation(QueryCriterionInterface $operation) {
        
        $operation->setValue($this->getOperationValue($operation->getValue()));

        $command = $this->prepareOperator()->getOperator($operation->getOperator())->convert($operation);
        
        $this->setConditions($command , $operation->getAnd(), 'and');
        $this->setConditions($command , $operation->getOr(), 'or');
        $this->addOperator($command);
        
        return $this;
        
    }
protected function parseOperation ( QueryCriterionInterface $ operation ) { $ operation -> setValue ( $ this -> getOperationValue ( $ operation -> getValue ( ) ) ) ; $ command = $ this -> prepareOperator ( ) -> getOperator ( $ operation -> getOperator ( ) ) -> convert ( $ operation ) ; $ this -> setConditions ( $ command , $ operation -> getAnd ( ) , 'and' ) ; $ this -> setConditions ( $ command , $ operation -> getOr ( ) , 'or' ) ; $ this -> addOperator ( $ command ) ; return $ this ; }
parse QueryCriterionInterface criteria
@param QueryCriterionInterface $operation
@return $this
parse QueryCriterionInterface criteria