8000 Merge pull request #3208 from bicpi/more_fixes_2_3 · symfony/symfony-docs@e8d19b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit e8d19b8

Browse files
committed
Merge pull request #3208 from bicpi/more_fixes_2_3
2.3 only: Some more minor fixes
2 parents 0cc1a38 + 887f9bc commit e8d19b8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cookbook/service_container/scopes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ you have three ways to deal with it:
8080
* Use setter injection if the dependency is "synchronized"; this is the
8181
recommended way and the best solution for the ``request`` instance as it is
8282
synchronized with the ``request`` scope (see
83-
:ref:`using-synchronized-service`).
83+
:ref:`using-synchronized-service`);
8484

8585
* Put your service in the same scope as the dependency (or a narrower one). If
8686
you depend on the ``request`` service, this means putting your new service
@@ -89,7 +89,7 @@ you have three ways to deal with it:
8989
* Pass the entire container to your service and retrieve your dependency from
9090
the container each time you need it to be sure you have the right instance
9191
-- your service can live in the default ``container`` scope (see
92-
:ref:`passing-container`);
92+
:ref:`passing-container`).
9393

9494
Each scenario is detailed in the following sections.
9595

@@ -230,7 +230,7 @@ Changing the scope of a service should be done in its definition:
230230
greeting_card_manager:
231231
class: Acme\HelloBundle\Mail\GreetingCardManager
232232
scope: request
233-
arguments: [@request]
233+
arguments: ["@request"]
234234
235235
.. code-block:: xml
236236

cookbook/templating/namespaced_paths.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ called ``sidebar.twig`` in that directory, you can use it easily:
8080

8181
.. code-block:: jinja
8282
83-
{% include '@foo_bar/side.bar.twig` %}
83+
{% include '@foo_bar/side.bar.twig' %}

0 commit comments

Comments
 (0)
0