src/AbstractQuerySerialyser.php
protected function setConditions(&$command , array $conditionList , $separator = 'and') {
        foreach($conditionList as $condition) {
            
            $addCondition = $this->getOperator($condition->getOperator())->convert($condition);
            $this->mergeCondition($command , $addCondition , $separator);
            
        }
        return $command;
    }
protected function setConditions(&$command , array $conditionList , $separator = 'and') {
        foreach($conditionList as $condition) {
            
            $addCondition = $this->getOperator($condition->getOperator())->convert($condition);
            $this->mergeCondition($command , $addCondition , $separator);
            
        }
        return $command;
    }
protected function setConditions ( & $ command , array $ conditionList , $ separator = 'and' ) { foreach ( $ conditionList as $ condition ) { $ addCondition = $ this -> getOperator ( $ condition -> getOperator ( ) ) -> convert ( $ condition ) ; $ this -> mergeCondition ( $ command , $ addCondition , $ separator ) ; } return $ command ; }
generate and add to query a condition
exploitable by database driver
@param type $command
@param array $conditionList
@param type $separator
@return string
generate and add to query a condition exploitable by database driver