title: How to pass parameters to Symfony Form CollectionType
body: <p><strong><em>Intro</em></strong></p>
  
  <p>I have a simple form.</p>
  
  <pre><code>public function buildForm(FormBuilderInterface $builder, array $options)
  {
      $builder-&gt;add($builder
          -&gt;create('oneItemToSubmit', TextType::class), array(
              'entry_type' =&gt; TextType::class,
      ));
  }
  </code></pre>
  
  <p>When i submit it with an <code>array (["oneItem" =&gt; '1'])</code>, i get the desired output i.e. My data_class object gets hydrated correctly</p>
  
  <p><strong><em>Problem</em></strong></p>
  
  <p>I want to submit an array of listOfItems <code>array (["listOfItems" =&gt; ['1', '2', '3'])</code> and get an array of my hydrated data_class Objects hydrated correctly</p>
  
  <pre><code>public function buildForm(FormBuilderInterface $builder, array $options)
  {
      $builder-&gt;add($builder
          -&gt;create('listOfItems', CollectionType::class), array(
              'entry_type' =&gt; TextType::class,
      ));
  }
  </code></pre>
  
  <p><strong><em>Question</em></strong></p>
  
  <p>How do I achieve this with the <code>CollectionType::class</code>?</p>