Skip to content

Commit a2a6a08

Browse files
committed
Merge branch '2.3' into 2.4
* 2.3: Removing 2.6 message from the 2.3 branch Documented info method
2 parents f56e733 + 0b157d2 commit a2a6a08

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

components/config/definition.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,15 @@ has a certain value:
284284
->end()
285285
;
286286
287+
Documenting the Option
288+
----------------------
289+
290+
All options can be documented using the
291+
:method:`Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::info`
292+
method.
293+
294+
The info will be printed as a comment when dumping the configuration tree.
295+
287296
Optional Sections
288297
-----------------
289298

0 commit comments

Comments
 (0)