title: Symfony 3 form type error
body: <p>I have the entity "News" with fields: </p>
  
  <pre><code>/**
   * @ORM\Id
   * @ORM\Column(type="integer")
   * @ORM\GeneratedValue(strategy="AUTO")
   */
  protected $id;
  
  /**
   * @ORM\Column(type="string", length=100)
   */
  protected $name;
  
  
  /**
   * @ORM\Column(type="text")
   */
  protected $description;
  </code></pre>
  
  <p>I generate the form in my controller:</p>
  
  <pre><code>public function createNewsAction(Request $request)
  {
      $news = new News();
      $news-&gt;setName('New!');
      $news-&gt;setDescription('test');
      $form = $this-&gt;createFormBuilder($news)
          -&gt;add('name', TextType::class)
          -&gt;add('description', TextType::class)
          -&gt;add('save', SubmitType::class, array('label' =&gt; 'Create Task'))
          -&gt;getForm();
      return $this-&gt;render('frontend/createNews.html.twig', array(
          'form' =&gt; $form-&gt;createView(),
      ));
  }
  </code></pre>
  
  <p>And when I try to call this method ("createNewsAction") I got the error:</p>
  
  <pre><code>Could not load type "Doctrine\DBAL\Types\TextType"
  
  500 Internal Server Error - InvalidArgumentException
  
  Stack Trace
  
  in vendor\symfony\symfony\src\Symfony\Component\Form\FormRegistry.php at line 87   -
                  if (class_exists($name) &amp;&amp; in_array('Symfony\Component\Form\FormTypeInterface', class_implements($name))) {
                      $type = new $name();
                  } else {
                      throw new InvalidArgumentException(sprintf('Could not load type "%s"', $name));
                  }
              }
  </code></pre>
  
  <p>What I do wrong with this code?</p>