File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
Defining Services Dependencies Automatically (Autowiring)
5
5
=========================================================
6
6
7
- Autowiring allows you to manage services in the container with minimal configuration.
8
- It reads the type-hints on your constructor (or other methods) and automatically
9
- passes you the correct services. Symfony's autowiring is designed to be predictable:
10
- if it is not absolutely clear which dependency should be passed, you'll see an
11
- actionable exception.
7
+ Autowiring allows you to manage services in the container with minimal
8
+ configuration. It reads the type-hints on your constructor (or other methods)
9
+ and automatically passes the correct services to each method . Symfony's
10
+ autowiring is designed to be predictable: if it is not absolutely clear which
11
+ dependency should be passed, you'll see an actionable exception.
12
12
13
13
.. tip ::
14
14
You can’t perform that action at this time.
0 commit comments