Open Haehnchen opened 8 years ago
Following code should be simplified
if ($form->isSubmitted() && $form->isValid()) { /** @var Comment $comment */ $comment = $form->getData();
$resolver->setDefaults(array( 'data_class' => 'AppBundle\Entity\Comment', ));
This would be a killer feature if it's doable!
Following code should be simplified