Skip to content

Commit 47e11f8

Browse files
committed
Applied comments
1 parent f2be12a commit 47e11f8

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

cookbook/configuration/configuration_organization.rst

+6-15
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ default Symfony Standard Edition follow this structure:
3636
3737
your-project/
3838
├─ app/
39+
│ ├─ ...
3940
│ └─ config/
4041
│ ├─ config.yml
4142
│ ├─ config_dev.yml
@@ -46,11 +47,7 @@ default Symfony Standard Edition follow this structure:
4647
│ ├─ routing.yml
4748
│ ├─ routing_dev.yml
4849
│ └─ security.yml
49-
├─ src/
50-
├─ tests/
51-
├─ var/
52-
├─ vendor/
53-
└─ web/
50+
├─ ...
5451
5552
This default structure was chosen for its simplicity — one file per environment.
5653
But as any other Symfony feature, you can customize it to better suit your needs.
@@ -69,6 +66,7 @@ name as the environment:
6966
7067
your-project/
7168
├─ app/
69+
│ ├─ ...
7270
│ └─ config/
7371
│ ├─ common/
7472
│ │ ├─ config.yml
@@ -85,11 +83,7 @@ name as the environment:
8583
│ ├─ parameters.yml
8684
│ ├─ routing.yml
8785
│ └─ security.yml
88-
├─ src/
89-
├─ tests/
90-
├─ var/
91-
├─ vendor/
92-
└─ web/
86+
├─ ...
9387
9488
To make this work, change the code of the
9589
:method:`Symfony\\Component\\HttpKernel\\KernelInterface::registerContainerConfiguration`
@@ -167,6 +161,7 @@ and several files to define all application services:
167161
168162
your-project/
169163
├─ app/
164+
│ ├─ ...
170165
│ └─ config/
171166
│ ├─ bundles/
172167
│ │ ├─ bundle1.yml
@@ -186,11 +181,7 @@ and several files to define all application services:
186181
│ ├─ backend.yml
187182
│ ├─ ...
188183
│ └─ security.yml
189-
├─ src/
190-
├─ tests/
191-
├─ var/
192-
├─ vendor/
193-
└─ web/
184+
├─ ...
194185
195186
Again, change the code of the ``registerContainerConfiguration()`` method to
196187
make Symfony aware of the new file organization::

cookbook/deployment/azure-website.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ directory with at least the following contents:
265265
/var/logs/*
266266
!var/cache/.gitkeep
267267
!var/logs/.gitkeep
268-
/bin/SymfonyRequirements.php
268+
/var/SymfonyRequirements.php
269269
/build/
270270
/vendor/
271271
/bin/

0 commit comments

Comments
 (0)