Skip to content

Commit 6d282e4

Browse files
Fix typos
- fix typo from services to service in the first paragraph - fix typo from "if your buildForm" to "of your buildForm"
1 parent 3b9db1f commit 6d282e4

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)