Skip to content

Commit df95c7b

Browse files
committed
Merge branch '2.0' into 2.1
2 parents 4493238 + 7955b08 commit df95c7b

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

components/dependency_injection/parentservices.rst

+5
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ The tagged service will be removed from the container if the
218218
``framework.templating.engines`` config section does not contain php.
219219
220220
assetic.templating.twig
221-
----------------------
221+
-----------------------
222222
223223
**Purpose**: Remove this service if twig templating is disabled
224224
+1-1
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``.
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``.
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)