Skip to content

Commit fc5661f

Browse files
committed
Merge branch '3.4' into 4.0
* 3.4: using "!php/const:" with a colon isn't allowed anymore
2 parents 6f361ba + aa74eda commit fc5661f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/parameters.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ Setting PHP constants as parameters is also supported:
260260
261261
# config/services.yaml
262262
parameters:
263-
global.constant.value: !php/const:GLOBAL_CONSTANT
264-
my_class.constant.value: !php/const:My_Class::CONSTANT_NAME
263+
global.constant.value: !php/const GLOBAL_CONSTANT
264+
my_class.constant.value: !php/const My_Class::CONSTANT_NAME
265265
266266
.. code-block:: xml
267267

0 commit comments

Comments
 (0)