diff --git a/components/dependency_injection/parentservices.rst b/components/dependency_injection/parentservices.rst index c1e8d9d3e4d..aad7144e35b 100644 --- a/components/dependency_injection/parentservices.rst +++ b/components/dependency_injection/parentservices.rst @@ -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']] @@ -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 @@ -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