title: ::buildView() must be compatible with that of Symfony\Component\Form\FormTypeInterface::buildView()
body: <p>I'm trying to implement a custom field type for my Symfony2 forms but for whatever reason I'm getting a fatal error as said in the title of this question.<br>
  I already copied over the original declaration from the interface, but to no avail :-(</p>
  
  <pre><code>&lt;?php
  namespace Yanic\HomeBundle\Form\Type;
  
  use Symfony\Component\Form\AbstractType;
  use Symfony\Component\Form\FormBuilder;
  use Symfony\Component\Form\FormView;
  use Symfony\Component\Form\FormInterface;
  use Symfony\Component\Form\FormError;
  use Symfony\Component\Form\CallbackValidator;
  use Symfony\Component\Form\FormValidatorInterface;
  
  class ShowOnlyType extends AbstractType
  {
  /**
       * {@inheritdoc}
       */
      function buildView(FormViewInterface $view, FormInterface $form, array $options)
      {
          $view-&gt;addVars(array(
              'value'   =&gt; date( 'd/m/Y H:i', $options['value'] )
          ));
      }
  
      /**
      * {@inheritdoc}
      */
      public function setDefaultOptions(OptionsResolverInterface $resolver)
      {
  
          $resolver-&gt;setDefaults(array(
                  'data_class' =&gt; 'DateTime'
          ));
      }
  
      public function getParent()
      {
          return 'form';
      }
  
      public function getName()
      {
          return 'showOnly';
      }
  }
  </code></pre>
  
  <p>Thanks for any help</p>