Symfony 3 - Could not load type form type
<p>I have just updated symfony from 2.7 to 3.0 and got some troubles with it..</p>

<p>It cant load my form types. Here is an example.</p>

<p>services.xml</p>

<pre><code>app.search:
        class: AppBundle\Form\Type\SearchFormType
        tags:
            - { name: form.type, alias: app_search }
</code></pre>

<p>Thats how im trying to create form.</p>

<pre><code>$form = $this-&gt;createForm('app_search', new Search());
</code></pre>

<p>SearchFormType</p>

<pre><code>namespace AppBundle\Form\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;

class SearchFormType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
    $builder-&gt;add('phrase', 'text');
    }

    public function getBlockPrefix()
    {
        return 'app_search';
    }
}
</code></pre>

<p>Getting next error:</p>

<blockquote>
  <p>An exception has been thrown during the rendering of a template
  ("Could not load type "app_search"") in ....</p>
</blockquote>

<p>How it should look like in symfony 3.0? </p>

<p>Thanks !</p>