From 0be9cb897be604958c29c49415830babf2e1a18f Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Sat, 26 Sep 2015 16:22:01 +0200 Subject: [PATCH] Included hint about file location Copied from http://symfony.com/doc/current/book/forms.html#creating-form-classes --- best_practices/forms.rst | 1 + 1 file changed, 1 insertion(+) 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;