Skip to content

Commit 473ded5

Browse files
committed
Added link to cookbook article
To clearify the scopes.
1 parent 90b2803 commit 473ded5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

book/service_container.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,9 @@ lots of services. Services that are never used are never constructed.
164164

165165
As an added bonus, the ``Mailer`` service is only created once and the same
166166
instance is returned each time you ask for the service. This is almost always
167-
the behavior you'll need (it's more flexible and powerful), but we'll learn
168-
later how you can configure a service that has multiple instances.
167+
the behavior you'll need (it's more flexible and powerful), but you learn how
168+
to configure a service that has multiple instances in the
169+
":doc:`/cookbook/service_container/scopes`" cookbook article.
169170

170171
.. _book-service-container-parameters:
171172

0 commit comments

Comments
 (0)