Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed5169c

Browse files
OskarStarkweaverryan
authored andcommitted
using "!php/const:" with a colon isn't allowed anymore
1 parent 60695e5 commit ed5169c

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)