title: Concatenation with dynamic variables for Twig symfony
body: <p>I have a specific problem with concat of twig. 
  When I trying to concatenate dynamic variables showing the error.
  Here is my code : </p>
  
  <pre><code>{% set i = 0 %}
  {% set nbLignes = codeEvt.nb_lignes_~i %}
  {% set nbLignesRef = codeEvt.nb_lignes_ref_~i %}
  </code></pre>
  
  <p>But I have this error message :</p>
  
  <blockquote>
    <p>Method "nb_lignes_" for object "\DTO\SuiviJourFonc" does not exist in XXXXXXXXX.html.twig at line 211</p>
  </blockquote>
  
  <p>I would like to take <strong>codeEvt.nb_lignes_0</strong> , but i would like build a "for" for others variables like <code>nb_lignes_1, nb_lignes_2 , nb_lignes_3 ...</code></p>
  
  <p>How can i do this ?</p>