Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FormComponent] Fix typos #6887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions form/form_dependencies.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
How to Access Services or Config from Inside a Form
===================================================

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

1) Pass Options to your Form
Expand Down Expand Up @@ -45,7 +45,7 @@ create your form::
}

Finally, the ``entity_manager`` option is accessible in the ``$options`` argument
if your ``buildForm`` method::
of your ``buildForm`` method::

// src/AppBundle/Form/TaskType.php
// ...
Expand Down