title: How to loop through values in Symfony2 on the FormType
body: <p>I have this piece of code:</p>
  
  <pre><code>-&gt;add('breedingPairSeason', 'choice', array(
      'placeholder' =&gt; 'Choose a season',
      'choices' =&gt; array(
          'early2010'   =&gt; 'Early 2010 (Jan - June)',
          'late2010' =&gt; 'Late 2010 (July - December)',
      ),
  ));
  </code></pre>
  
  <p>What I would like to achieve is to automatically add more choices based on the year. So ideally I would like it to start in 2010, and then finish in the current year, like this:</p>
  
  <pre><code>-&gt;add('breedingPairSeason', 'choice', array(
      'placeholder' =&gt; 'Choose a season',
      'choices' =&gt; array(
          'early2010'   =&gt; 'Early 2010 (Jan - June)',
          'late2010' =&gt; 'Late 2010 (July - December)',
          'early2011'   =&gt; 'Early 2011 (Jan - June)',
          'late2011' =&gt; 'Late 2011 (July - December)',
          'early2012'   =&gt; 'Early 2012 (Jan - June)',
          'late2012' =&gt; 'Late 2012 (July - December)',
          'early2013'   =&gt; 'Early 2013 (Jan - June)',
          'late2013' =&gt; 'Late 2013 (July - December)',
          'early2014'   =&gt; 'Early 2014 (Jan - June)',
          'late2014' =&gt; 'Late 2014 (July - December)',
          'early2015'   =&gt; 'Early 2015 (Jan - June)',
          'late2015' =&gt; 'Late 2015 (July - December)',
      ),
  ));
  </code></pre>
  
  <p>Is this possible?</p>