Skip to content

Commit aa74eda

Browse files
committed
bug #8803 using "!php/const:" with a colon isn't allowed anymore (OskarStark)
This PR was submitted for the 4.0 branch but it was merged into the 3.4 branch instead (closes #8803). Discussion ---------- using "!php/const:" with a colon isn't allowed anymore Commits ------- ed5169c using "!php/const:" with a colon isn't allowed anymore
2 parents 60695e5 + ed5169c commit aa74eda

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
@@ -253,8 +253,8 @@ Setting PHP constants as parameters is also supported:
253253
.. code-block:: yaml
254254
255255
parameters:
256-
global.constant.value: !php/const:GLOBAL_CONSTANT
257-
my_class.constant.value: !php/const:My_Class::CONSTANT_NAME
256+
global.constant.value: !php/const GLOBAL_CONSTANT
257+
my_class.constant.value: !php/const My_Class::CONSTANT_NAME
258258
259259
.. code-block:: xml
260260

0 commit comments

Comments
 (0)