8000 Minor reword in autowiring introduction by javiereguiluz · Pull Request #8606 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Minor reword in autowiring introduction #8606

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
Nov 10, 2017
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
10 changes: 5 additions & 5 deletions service_container/autowiring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
Defining Services Dependencies Automatically (Autowiring)
=========================================================

Autowiring allows you to manage services in the container with minimal configuration.
It reads the type-hints on your constructor (or other methods) and automatically
passes you the correct services. Symfony's autowiring is designed to be predictable:
if it is not absolutely clear which dependency should be passed, you'll see an
actionable exception.
Autowiring allows you to manage services in the container with minimal
configuration. It reads the type-hints on your constructor (or other methods)
and automatically passes the correct services to each method. Symfony's
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"to them" ? (constructor or other methods)

autowiring is designed to be predictable: if it is not absolutely clear which
dependency should be passed, you'll see an actionable exception.

.. tip::

Expand Down
0