Skip to content

Commit

Permalink
Updating some component headings to fit the style used for others
Browse files Browse the repository at this point in the history
  • Loading branch information
richardmiller-zz committed Jan 29, 2013
1 parent ee3fd33 commit ee7f5ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
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

0 comments on commit ee7f5ae

Please sign in to comment.