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 8c9847d

Browse filesBrowse files
committed
Merge branch '2.4' into 2.5
* 2.4: Removing 2.6 message from the 2.3 branch Documented info method
2 parents c289ac8 + a2a6a08 commit 8c9847d
Copy full SHA for 8c9847d

File tree

Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed

‎components/config/definition.rst

Copy file name to clipboardExpand all lines: components/config/definition.rst
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,15 @@ has a certain value:
281281
->end()
282282
;
283283
284+
Documenting the Option
285+
----------------------
286+
287+
All options can be documented using the
288+
:method:`Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::info`
289+
method.
290+
291+
The info will be printed as a comment when dumping the configuration tree.
292+
284293
Optional Sections
285294
-----------------
286295

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.