framework/db/ExpressionBuilder.php
public function build(ExpressionInterface $expression, array &$params = [])
    {
        $params = array_merge($params, $expression->params);
        return $expression->__toString();
    }
public function build(ExpressionInterface $expression, array &$params = [])
    {
        $params = array_merge($params, $expression->params);
        return $expression->__toString();
    }
{@inheritdoc}
@param Expression|ExpressionInterface $expression the expression to be built