File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
service_container/service_container Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
single: DependencyInjection; Debug
3
3
single: Service Container; Debug
4
4
5
- How to Debug the Service Container
6
- ==================================
5
+ How to Debug the Service Container & List Services
6
+ ==================================================
7
7
8
8
You can find out what services are registered with the container using the
9
9
console. To show all services and the class for each service, run:
Original file line number Diff line number Diff line change 2
2
single: DependencyInjection; Importing Resources
3
3
single: Service Container; Importing Resources
4
4
5
- How to Import Configuration Resources
6
- =====================================
5
+ How to Import Configuration Files/ Resources
6
+ ===========================================
7
7
8
8
.. tip ::
9
9
Original file line number Diff line number Diff line change 1
- How to Make References Optional
2
- ===============================
1
+ How to Make Service Arguments/ References Optional
2
+ =================================================
3
3
4
4
Sometimes, one of your services may have an optional dependency, meaning
5
5
that the dependency is not required for your service to work properly. In
Original file line number Diff line number Diff line change 2
2
single: DependencyInjection; Tags
3
3
single: Service Container; Tags
4
4
5
- How to Work with Tags
6
- =====================
5
+ How to Work with Service Tags
6
+ =============================
7
7
8
8
In the same way that a blog post on the web might be tagged with things such
9
9
as "Symfony" or "PHP", services configured in your container can also be
You can’t perform that action at this time.
0 commit comments