Skip to content

Commit 8f07c86

Browse files
committed
Merge branch '2.1' into 2.2
2 parents b9b3165 + df95c7b commit 8f07c86

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

components/dependency_injection/parentservices.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ when the child services are instantiated.
273273
is that omitting the ``parent`` config key will mean that the ``calls``
274274
defined on the ``mail_manager`` service will not be executed when the
275275
child services are instantiated.
276+
277+
.. caution::
278+
279+
The ``scope``, ``abstract`` and ``tags`` attributes are always taken from
280+
the child service.
276281

277282
The parent service is abstract as it should not be directly retrieved from the
278283
container or passed into another service. It exists merely as a "template" that

reference/dic_tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ The tagged service will be removed from the container if the
222222
``framework.templating.engines`` config section does not contain php.
223223
224224
assetic.templating.twig
225-
----------------------
225+
-----------------------
226226
227227
**Purpose**: Remove this service if twig templating is disabled
228228
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
hours
22
~~~~~
33

4-
**type**: ``integer`` **default**: 0 to 23
4+
**type**: ``array`` **default**: 0 to 23
55

66
List of hours available to the hours field type. This option is only relevant
77
when the ``widget`` option is set to ``choice``.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
minutes
22
~~~~~~~
33

4-
**type**: ``integer`` **default**: 0 to 59
4+
**type**: ``array`` **default**: 0 to 59
55

66
List of minutes available to the minutes field type. This option is only
77
relevant when the ``widget`` option is set to ``choice``.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
seconds
22
~~~~~~~
33

4-
**type**: ``integer`` **default**: 0 to 59
4+
**type**: ``array`` **default**: 0 to 59
55

66
List of seconds available to the seconds field type. This option is only
77
relevant when the ``widget`` option is set to ``choice``.

0 commit comments

Comments
 (0)