diff --git a/best_practices/forms.rst b/best_practices/forms.rst index 12255f37cfc..b0035c2080c 100644 --- a/best_practices/forms.rst +++ b/best_practices/forms.rst @@ -17,6 +17,7 @@ code. This is perfectly fine if you don't need to reuse the form somewhere else. But for organization and reuse, we recommend that you define each form in its own PHP class:: + // src/AppBundle/Form/Type/PostType.php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType;