title: Can I somehow pass a parameter from a controller into $form->createView()?
body: <p>Can I somehow access FormView class through a controller?
  I need on error to change placeholder of an input.</p>
  <p>This is how I try to access it : (doesn't work)</p>
  <pre><code>//AnyController.php
  return $this-&gt;render('registration/register.html.twig', [
              'registrationForm' =&gt; $form-&gt;createView(),
                  [
                      'children' =&gt; [
                          'password' =&gt; [
                              'vars' =&gt; [
                                  'attr' =&gt; [
                                      'placeholder' =&gt; 'Paswordeeeeee',
                                  ],
                              ],
                          ],
                      ],
                  ]
  
              ]
          );
  </code></pre>
  <p><a href="https://i.stack.imgur.com/byWH5.png" rel="nofollow noreferrer">This is what I am trying to access, I got this with <code>dd($form-&gt;createView());</code> </a></p>
  <p>This is more like a general question on can I access <code>$form-&gt;createView()</code> FormView class from a <em>controller</em>?</p>