title: symfony 3 how to disable input in controller
body: <p>So... I want to disable an input in Symfony 3.0.2 depending on IF statement in my controller. How do I do that? Setting value for example field first_name</p>
  
  <pre><code>            $form-&gt;get('firstname')-&gt;setData($fbConnect['data']['first_name']);
  </code></pre>
  
  <p>So I thought about something like ->setOption('disabled', true)</p>