Is there a list of Symfony2 default container services?

前端 未结 6 502
小蘑菇
小蘑菇 2020-12-22 21:56

Here is an example, taken from Symfony2 website, about defining a custom service (YAML notation):

services:
    newsletter_manager:
                 


        
6条回答
  •  一整个雨季
    2020-12-22 22:20

    you can also do this if you want to get details of a single service:

        php app/console container:debug service_id
    

    this will give you info on that service

提交回复
热议问题