Skip to content

Commit

Permalink
minor #6530 [DependencyInjection] Unquote services FQCN in parent-ser…
Browse files Browse the repository at this point in the history
…vices examples (chalasr)

This PR was merged into the 2.3 branch.

Discussion
----------

[DependencyInjection] Unquote services FQCN in parent-services examples

Same as #6529 on a older chapter, with some incoherences fixed (sometimes double quotes, simple quotes, and, as it should be, no quotes).

Commits
-------

e39278e [DependencyInjection] Unquote services FQCN in parent-services examples
  • Loading branch information
xabbuh committed May 9, 2016
2 parents e84f930 + e39278e commit 237bc1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/dependency_injection/parentservices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The service config for these classes would look something like this:
- [setEmailFormatter, ['@my_email_formatter']]
greeting_card_manager:
class: 'GreetingCardManager'
class: GreetingCardManager
calls:
- [setMailer, ['@my_mailer']]
- [setEmailFormatter, ['@my_email_formatter']]
Expand Down Expand Up @@ -196,11 +196,11 @@ a parent for a service.
- [setEmailFormatter, ['@my_email_formatter']]
newsletter_manager:
class: "NewsletterManager"
class: NewsletterManager
parent: mail_manager
greeting_card_manager:
class: "GreetingCardManager"
class: GreetingCardManager
parent: mail_manager
.. code-block:: xml
Expand Down Expand Up @@ -324,13 +324,13 @@ to the ``NewsletterManager`` class, the config would look like this:
- [setEmailFormatter, ['@my_email_formatter']]
newsletter_manager:
class: 'NewsletterManager'
class: NewsletterManager
parent: mail_manager
calls:
- [setMailer, ['@my_alternative_mailer']]
greeting_card_manager:
class: 'GreetingCardManager'
class: GreetingCardManager
parent: mail_manager
.. code-block:: xml
Expand Down

0 comments on commit 237bc1c

Please sign in to comment.