8000 Fixed syntax issues and provided more information · symfony/symfony-docs@d47e751 · GitHub
[go: up one dir, main page]

Skip to content

Commit d47e751

Browse files
committed
Fixed syntax issues and provided more information
1 parent 12b77af commit d47e751

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

book/forms.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,12 +1060,13 @@ that will house the logic for building the task form::
10601060
.. caution::
10611061

10621062
The ``getName()`` method returns the identifier of this form "type". These
1063-
identifiers must be unique in the application and, unless you want to override
1064-
a built-in type, they should be different from the default Symfony types.
1063+
identifiers must be unique in the application. Unless you want to override
1064+
a built-in type, they should be different from the default Symfony types
1065+
and from any type defined by a third-party bundle installed in you application.
10651066
Consider prefixing your types with ``app_`` to avoid identifier collisions.
10661067

10671068
This new class contains all the directions needed to create the task form. It can
1068-
be used to quickly build a form object in the controller:
1069+
be used to quickly build a form object in the controller::
10691070

10701071
// src/AppBundle/Controller/DefaultController.php
10711072

0 commit comments

Comments
 (0)
0