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 47fe03a commit 37d5361Copy full SHA for 37d5361
components/config/definition.rst
@@ -281,6 +281,19 @@ has a certain value:
281
->end()
282
;
283
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
293
+.. versionadded:: 2.6
294
+ Since Symfony 2.6, the info will also be added to the exception message
295
+ when an invalid type is given.
296
297
Optional Sections
298
-----------------
299
0 commit comments