We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c332063 commit e211f56Copy full SHA for e211f56
components/config/definition.rst
@@ -287,6 +287,19 @@ has a certain value:
287
->end()
288
;
289
290
+Documenting the Option
291
+----------------------
292
+
293
+All options can be documented using the
294
+:method:`Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::info`
295
+method.
296
297
+The info will be printed as a comment when dumping the configuration tree.
298
299
+.. versionadded:: 2.6
300
+ Since Symfony 2.6, the info will also be added to the exception message
301
+ when an invalid type is given.
302
303
Optional Sections
304
-----------------
305
0 commit comments