From 29e4241e726756893039609694d8b3a0d11f16a0 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sat, 24 Sep 2016 10:44:29 +0200 Subject: [PATCH] normalize versionadded wording --- reference/configuration/framework.rst | 2 +- service_container/alias_private.rst | 2 +- service_container/shared.rst | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 79f493cc600..5719e793e65 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1519,7 +1519,7 @@ name_converter **type**: ``string`` .. versionadded:: 2.8 - The ``name_converter`` setting was introduced in Symfony 2.8. + The ``name_converter`` option was introduced in Symfony 2.8. The name converter to use. The :class:`Symfony\\Component\\Serializer\\NameConverter\\CamelCaseToSnakeCaseNameConverter` diff --git a/service_container/alias_private.rst b/service_container/alias_private.rst index 137684ed858..6f3d8b7d30d 100644 --- a/service_container/alias_private.rst +++ b/service_container/alias_private.rst @@ -134,7 +134,7 @@ Deprecating Services -------------------- .. versionadded:: 2.8 - The ``deprecated`` setting was introduced in Symfony 2.8. + The ``deprecated`` option was introduced in Symfony 2.8. Once you have decided to deprecate the use of a service (because it is outdated or you decided not to maintain it anymore), you can deprecate its definition: diff --git a/service_container/shared.rst b/service_container/shared.rst index 62ef094f426..db685a922f9 100644 --- a/service_container/shared.rst +++ b/service_container/shared.rst @@ -5,8 +5,8 @@ How to Define Non Shared Services ================================= .. versionadded:: 2.8 - The ``shared`` setting was introduced in Symfony 2.8. Prior to Symfony 2.8, - you had to use the ``prototype`` scope. + The ``shared`` option was introduced in Symfony 2.8. Prior to Symfony + 2.8, you had to use the ``prototype`` scope. In the service container, all services are shared by default. This means that each time you retrieve the service, you'll get the *same* instance. This is