Skip to content

Commit d63a2f2

Browse files
committed
minor #6887 [FormComponent] Fix typos (rendler-denis)
This PR was merged into the 3.0 branch. Discussion ---------- [FormComponent] Fix typos - fix typo from services to service in the first paragraph - fix typo from "if your buildForm" to "of your buildForm" Commits ------- 6d282e4 Fix typos
2 parents 0986e5e + 6d282e4 commit d63a2f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

form/form_dependencies.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
How to Access Services or Config from Inside a Form
22
===================================================
33

4-
Sometimes, you may need to access a :doc:`services </service_container>` or other
4+
Sometimes, you may need to access a :doc:`service </service_container>` or other
55
configuration from inside of your form class. To do this, you have 2 options:
66

77
1) Pass Options to your Form
@@ -45,7 +45,7 @@ create your form::
4545
}
4646

4747
Finally, the ``entity_manager`` option is accessible in the ``$options`` argument
48-
if your ``buildForm`` method::
48+
of your ``buildForm`` method::
4949

5050
// src/AppBundle/Form/TaskType.php
5151
// ...

0 commit comments

Comments
 (0)