title: Symfony - addHaving - concat + regexp
body: <p>Raw query:</p>
  
  <pre><code>select firstfield, secondfield, phone_number, thirdfield 
  from table 
  having CONCAT(firstfield, ' ', secondfield, ' ', thirdfield, ' ', fourthfield) regexp 'value' 
     and CONCAT(firstfield, ' ', secondfield, ' ', thirdfield, ' ', fourthfield) regexp 'value2' 
     and CONCAT(firstfield, ' ', secondfield, ' ', thirdfield, ' ', fourthfield) regexp 'value3'
     and CONCAT(firstfield, ' ', secondfield, ' ', thirdfield, ' ', fourthfield) regexp 'value4'
  </code></pre>
  
  <p>Querybuilder</p>
  
  <pre><code>    $qb-&gt;select(
          'firstfield',
      'secondfield',
      'thirdfield',
      'fourthfield',
      )-&gt;from(Table, 'u');
  
  
  $queryHaving = "CONCAT(firstfield, ' ', secondfield, ' ', thirdfield, ' ', fourthfield) regexp 'value'";
  $qb-&gt;andhaving($queryHaving);
  
  $queryHaving = "CONCAT(firstfield, ' ', secondfield, ' ', thirdfield, ' ', fourthfield) regexp 'value2'";
  $qb-&gt;andhaving($queryHaving);
  </code></pre>
  
  <p>Problem:</p>
  
  <p>How to collect concat with regexp not as function? Tried using literal() function but it is not possible to create due error throws on not possible to assign into.</p>