Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aa74eda

Browse filesBrowse 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
Copy full SHA for aa74eda

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎service_container/parameters.rst

Copy file name to clipboardExpand all lines: service_container/parameters.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.