Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added example for info() #5632

Closed
wants to merge 46 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
1a587c5
Added February changelog
wouterj Mar 1, 2015
653ac94
fix changelog syntax
xabbuh Mar 2, 2015
515e87c
Merge branch '2.7'
weaverryan Mar 2, 2015
a2395ef
minor #5054 [Changelog] fix changelog syntax (xabbuh)
weaverryan Mar 2, 2015
feb621b
Merge branch '2.7'
weaverryan Mar 13, 2015
f24c84f
Merge branch '2.7'
weaverryan Mar 14, 2015
3fb0d42
Merge branch '2.7'
weaverryan Mar 15, 2015
7681e39
Merge branch '2.7'
weaverryan Mar 24, 2015
5dd50f5
Merge branch '2.7'
wouterj Apr 2, 2015
392398b
Merge branch '2.7'
wouterj Apr 4, 2015
56fe069
Merge branch '2.7'
wouterj Apr 5, 2015
e84182d
Added March changelog
wouterj Apr 5, 2015
c4e07cc
Merge branch '2.7'
wouterj Apr 7, 2015
2e86186
Merge branch '2.8'
weaverryan Apr 15, 2015
b74593c
Merge branch '2.8'
weaverryan Apr 17, 2015
701f2cf
Merge branch '2.8'
wouterj Apr 26, 2015
f0429d7
Merge branch '2.8'
weaverryan Apr 27, 2015
83636f0
Merge branch '2.8'
wouterj May 2, 2015
041b2af
Merge branch '2.8'
wouterj May 2, 2015
643f4c4
Merge branch '2.8'
wouterj May 2, 2015
c1cbb9a
Merge branch '2.8'
weaverryan May 3, 2015
de9b3d5
Merge branch '2.8'
wouterj May 10, 2015
25c9705
Merge branch '2.8'
wouterj May 17, 2015
12d8531
Merge branch '2.8'
weaverryan May 22, 2015
c2b92e1
Merge branch '2.8'
wouterj May 23, 2015
2d64dd5
Merge branch '2.8'
weaverryan May 23, 2015
7cadcdc
Merge branch '2.8'
wouterj May 24, 2015
c3fd4f5
Merge branch '2.8'
wouterj May 24, 2015
68f51df
Merge branch '2.8'
weaverryan May 25, 2015
0c089ec
Update create_form_type_extension.rst
May 28, 2015
78bab15
Merge branch '2.8'
weaverryan May 29, 2015
ed88e1c
bug #5328 Update create_form_type_extension.rst (jackdelin)
wouterj May 31, 2015
d6c5d5b
Merge branch '2.8'
wouterj May 31, 2015
6a9a26a
Merge branch '2.8'
wouterj May 31, 2015
f78cab7
Merge branch '2.8'
wouterj May 31, 2015
078bb2d
Merge branch '2.8'
wouterj Jun 7, 2015
a68ff44
Merge branch '2.8'
weaverryan Jun 19, 2015
41d1733
Merge branch '2.8'
weaverryan Jun 19, 2015
2d430dc
Merge branch '2.8'
wouterj Jun 20, 2015
cc87822
Merge branch '2.8'
weaverryan Jun 28, 2015
0ef7e1a
Merge branch '2.8'
weaverryan Jun 28, 2015
e08724e
Merge branch '2.8'
weaverryan Jun 30, 2015
7d6737b
Merge branch '2.8'
wouterj Jul 1, 2015
3cdbc7c
Merge branch '2.8'
weaverryan Jul 2, 2015
b3a32af
Merge branch '2.8'
xabbuh Jul 2, 2015
a8c8c8d
added example for info()
OskarStark Aug 18, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ Minor Documentation Changes
- `3be0081 <https://github.com/symfony/symfony-docs/commit/3be00819b3300d6ead36fa6793d93874173a4db3>`_ #4976 Improved sentence (edsonmedina)
- `a444220 <https://github.com/symfony/symfony-docs/commit/a4442209686f612f353b713cc1153a3e17383d25>`_ #4885 Fix typos (ifdattic)
- `482502d <https://github.com/symfony/symfony-docs/commit/482502d02b838a7c9bbd31df9e2244e9876ec3ed>`_ #4793 [Contributing] Several tweaks (xelaris)
- `a2395ef <https://github.com/symfony/symfony-docs/commit/a2395ef7c3945749a7b2d38135262eb70349aaaf>`_ #5054 [Changelog] fix changelog syntax (xabbuh)
- `6b66f03 <https://github.com/symfony/symfony-docs/commit/6b66f034e2efbf488ac2192c3666e32998badc6d>`_ #5003 Updated the generic Deployment article (javiereguiluz)
- `39a1487 <https://github.com/symfony/symfony-docs/commit/39a14875ad1ed8b4681bcb27288fc802d162c300>`_ #4999 Fixed semantic error (beni0888)

Expand Down Expand Up @@ -405,7 +406,6 @@ Minor Documentation Changes
- `1726054 <https://github.com/symfony/symfony-docs/commit/1726054212bda98d4d63edb7f1364472fe91c7fe>`_ #4500 Link to standard edition (harikt)
- `91ff6f8 <https://github.com/symfony/symfony-docs/commit/91ff6f8198d17eda5f837c5f1c1725b8030862a1>`_ #4329 ensure consistency with the note (greg0ire)
- `f4ab4b6 <https://github.com/symfony/symfony-docs/commit/f4ab4b65092c21642f36e9aec733c9348b4b9691>`_ #5002 Revert very bad merge (WouterJ)
- `e747392 <https://github.com/symfony/symfony-docs/commit/e7473924e1e4233bec66eba6cf09b9dd9c1c079b>`_ Revert "#4977 Unnecessary comma (edsonmedina)"
- `e5dbd49 <https://github.com/symfony/symfony-docs/commit/e5dbd49deb1cc6d25d4b89c4967a6511192a22ec>`_ #4977 Unnecessary comma (edsonmedina)
- `ed80100 <https://github.com/symfony/symfony-docs/commit/ed8010062f99ccde39b7b32ffa1ea7cfbcbfdd2f>`_ #4977 Unnecessary comma (edsonmedina)
- `5d44987 <https://github.com/symfony/symfony-docs/commit/5d4498707f7fc72653fc135a3e3caee675901ee9>`_ #4991 Fixed typo and tweaked syntax. (cdvrooman)
Expand Down
25 changes: 25 additions & 0 deletions components/config/definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,31 @@ the ``config:dump`` command.
Since Symfony 2.6, the info will also be added to the exception message
when an invalid type is given.

.. code-block:: php

$rootNode
->children()
->inetegerNode('entries_per_page')
->info('This value is only used for the search results page.')
->devaultValue(25)
->end()
->end()
;

In YAML you may have:

.. code-block:: yaml

# This value is only used for the search results page.
entries_per_page: 25

and in XML:

.. code-block:: xml

<!-- entries-per-page: This value is only used for the search results page. -->
<config entries-per-page="25" />

Optional Sections
-----------------

Expand Down