diff --git a/book/service_container.rst b/book/service_container.rst index 7be9d9d8d1f..3cfd209f62d 100644 --- a/book/service_container.rst +++ b/book/service_container.rst @@ -109,7 +109,7 @@ be specified in YAML, XML or PHP: .. code-block:: yaml - # app/config/config.yml + # app/config/services.yml services: my_mailer: class: Acme\HelloBundle\Mailer @@ -117,7 +117,7 @@ be specified in YAML, XML or PHP: .. code-block:: xml - + setDefinition('my_mailer', new Definition(