File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
components/dependency_injection Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
- How to Use a Factory to Create Services
2
- =======================================
1
+ Using a Factory to Create Services
2
+ ==================================
3
3
4
4
Symfony2's Service Container provides a powerful way of controlling the
5
5
creation of objects, allowing you to specify arguments passed to the constructor
Original file line number Diff line number Diff line change 1
- How to Manage Common Dependencies with Parent Services
2
- ======================================================
1
+ Managing Common Dependencies with Parent Services
2
+ =================================================
3
3
4
4
As you add more functionality to your application, you may well start to have
5
5
related classes that share some of the same dependencies. For example you
Original file line number Diff line number Diff line change 1
- .. index ::
2
- single: Service Container; Tags
3
-
4
- How to make your Services use Tags
5
- ==================================
1
+ Working with Tagged Services
2
+ ============================
6
3
7
4
Tags are a generic string (along with some options) that can be applied to
8
5
any service. By themselves, tags don't actually the functionality of your
You can’t perform that action at this time.
0 commit comments