public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->add('competence', 'entity', array('class' => 'SdzBlogBundle:Competence'))->add('niveau', 'choice', array('choices' => ArticleCompetence::getNiveaux()));
 }
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->add('competence', EntityType::class, array('class' => Competence::class))->add('niveau', ChoiceType::class, array('choices' => ArticleCompetence::getNiveaux()));
 }