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 44Defining Services Dependencies Automatically (Autowiring)
55=========================================================
66
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.
1212
1313.. tip ::
1414
You can’t perform that action at this time.
0 commit comments