Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[RFR] Added "How to Organize Configuration Files" cookbook #3885

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 9 commits into from
Aug 16, 2014
Prev Previous commit
Next Next commit
Added suggestions made by @cordoval
  • Loading branch information
javiereguiluz committed Jun 3, 2014
commit af5d47826899c40551d6ce19ee095e39502f77f3
9 changes: 5 additions & 4 deletions 9 cookbook/configuration/configuration_organization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ name as the environment:
├─ vendor/
└─ web/

To make it work, change the code of the ``registerContainerConfiguration()``
To make this work, change the code of the
:method:`Symfony\\Component\\HttpKernel\\KernelInterface::registerContainerConfiguration`
method::

// app/AppKernel.php
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the notes about use statements at the code block above.

Expand All @@ -107,7 +108,7 @@ files, including the common files:

# app/config/dev/config.yml
imports:
- { resource: '../common/config.yml' }
- { resource: '../common/config.yml' }
- { resource: 'parameters.yml' }
- { resource: 'security.yml' }

Expand Down Expand Up @@ -222,7 +223,7 @@ Semantic Configuration Files

A different organization strategy may be needed for complex applications with
large configuration files. For instance, you could create one file per bundle
and several files to define all the application services:
and several files to define all application services:

.. code-block:: text

Expand Down Expand Up @@ -473,5 +474,5 @@ doesn't exist:

As you've seen, there are lots of ways to organize your configuration files. You
can choose one of these or even create your own custom way of organizing the
files. Don't feel limited by the standard edition that comes with Symfony. For even
files. Don't feel limited by the Standard Edition that comes with Symfony. For even
more customization, see ":doc:`dir_structure`".
Morty Proxy This is a proxified and sanitized view of the page, visit original site.