Skip to content

Updating some component headings to fit the style used for others #2194

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

Merged
merged 1 commit into from
Feb 11, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 9 additions & 9 deletions components/config/definition.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.. index::
single: Config; Define and process configuration values
single: Config; Defining and processing configuration values

Define and process configuration values
=======================================
Defining and processing configuration values
============================================

Validate configuration values
-----------------------------
Validating configuration values
-------------------------------

After loading configuration values from all kinds of resources, the values
and their structure can be validated using the "Definition" part of the Config
Expand Down Expand Up @@ -38,8 +38,8 @@ they are when first encountered. Also, some keys are only available when
another key has a specific value (in the sample configuration above: the
``memory`` key only makes sense when the ``driver`` is ``sqlite``).

Define a hierarchy of configuration values using the TreeBuilder
----------------------------------------------------------------
Defining a hierarchy of configuration values using the TreeBuilder
------------------------------------------------------------------

All the rules concerning configuration values can be defined using the
:class:`Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder`.
Expand All @@ -66,8 +66,8 @@ should be returned from a custom ``Configuration`` class which implements the
}
}

Add node definitions to the tree
--------------------------------
Adding node definitions to the tree
-----------------------------------

Variable nodes
~~~~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions components/console/single_command_tool.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. index::
single: Console; Single command application

How to build an Application that is a single Command
====================================================
Building a Single Command Application
=====================================

When building a command line tool, you may not need to provide several commands.
In such case, having to pass the command name each time is tedious. Fortunately,
Expand Down