We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86ef304 commit 5aaad8dCopy full SHA for 5aaad8d
book/service_container.rst
@@ -234,8 +234,8 @@ looks up the value of each parameter and uses it in the service definition.
234
.. note::
235
236
It can be useful to pass other services in as arguments to your custom service.
237
- For example, you may want to pass in the `request` service as an argument.
238
- In these cases, you may receive a `ScopeWideningInjectionException`.
+ For example, you may want to pass in the ``request`` service as an argument.
+ In these cases, you may receive a ``ScopeWideningInjectionException``.
239
To understand this problem better and learn how to solve it, refer to
240
the cookbook article :doc:`/cookbook/service_container/scopes` for a
241
few solutions.
0 commit comments