Skip to content

Commit 492e81a

Browse files
Florent DESPIERRESjaviereguiluz
Florent DESPIERRES
authored andcommitted
[Fix] Custom FormType namespace
1 parent 9b8bdb8 commit 492e81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form/create_custom_field_type.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Defining the Field Type
1616
In order to create the custom field type, first you have to create the class
1717
representing the field. In this situation the class holding the field type
1818
will be called ``ShippingType`` and the file will be stored in the default location
19-
for form fields, which is ``<BundleName>\Form\Type``. Make sure the field extends
19+
for form fields, which is ``App\Form\Type``. Make sure the field extends
2020
:class:`Symfony\\Component\\Form\\AbstractType`::
2121

2222
// src/Form/Type/ShippingType.php

0 commit comments

Comments
 (0)