From 473ded52515206efed3ac105947662aaf7495c95 Mon Sep 17 00:00:00 2001 From: Wouter J Date: Tue, 30 Oct 2012 19:34:45 +0100 Subject: [PATCH] Added link to cookbook article To clearify the scopes. --- book/service_container.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/book/service_container.rst b/book/service_container.rst index 27d942834b3..001ff2096f7 100644 --- a/book/service_container.rst +++ b/book/service_container.rst @@ -164,8 +164,9 @@ lots of services. Services that are never used are never constructed. As an added bonus, the ``Mailer`` service is only created once and the same instance is returned each time you ask for the service. This is almost always -the behavior you'll need (it's more flexible and powerful), but we'll learn -later how you can configure a service that has multiple instances. +the behavior you'll need (it's more flexible and powerful), but you learn how +to configure a service that has multiple instances in the +":doc:`/cookbook/service_container/scopes`" cookbook article. .. _book-service-container-parameters: