private function createConditionExpressions(array $conditions) : array
    {
        $conditionExpressions = [];

        foreach ($conditions as $condition) {
            if ($condition instanceof ICondition) {
                $this->addUnnamedPlaceholderValues($condition->getParameters());
                $conditionExpressions[] = $condition->getSql();
            } elseif (is_string($condition)) {
                $conditionExpressions[] = $condition;
            } else {
                throw new InvalidArgumentException('Condition must either be string or ICondition object');
            }
        }

        return $conditionExpressions;
    }
private function createConditionExpressions(array $conditions) : array
    {
        $conditionExpressions = [];

        foreach ($conditions as $condition) {
            if ($condition instanceof ICondition) {
                $this->addUnnamedPlaceholderValues($condition->getParameters());
                $conditionExpressions[] = $condition->getSql();
            } elseif (is_string($condition)) {
                $conditionExpressions[] = $condition;
            } else {
                throw new InvalidArgumentException('Condition must either be string or ICondition object');
            }
        }

        return $conditionExpressions;
    }
private function createConditionExpressions ( array $ conditions ) : array { $ conditionExpressions = [ ] ; foreach ( $ conditions as $ condition ) { if ( $ condition instanceof ICondition ) { $ this -> addUnnamedPlaceholderValues ( $ condition -> getParameters ( ) ) ; $ conditionExpressions [ ] = $ condition -> getSql ( ) ; } elseif ( is_string ( $ condition ) ) { $ conditionExpressions [ ] = $ condition ; } else { throw new InvalidArgumentException ( 'Condition must either be string or ICondition object' ) ; } } return $ conditionExpressions ; }
Converts a list of condition strings or objects to their string representations

@param array $conditions The list of strings of condition objects to convert
@return array The list of condition expressions
Converts a list of condition strings or objects to their string representations