Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99da972

Browse files
rcousenswouterj
authored andcommitted
Add third column to specific emplacements table describing relationship
The standard Symfony2 framework has mandatory requirements about specific emplacements, and then others that are considered best practice by convention. This commit makes the documentation clearer in order to provide a developer with reasonable expectations about the consequences of altering the default directory structure. Additionally, newer developers may be less intimidated and concerned by whether they are compromising any auto-wiring functionality by deviating from the information provided.
1 parent 8387134 commit 99da972

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

cookbook/bundles/best_practices.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -115,20 +115,20 @@ files are going to be part of the repository.
115115

116116
The following classes and files have specific emplacements:
117117

118-
=============================== =============================
119-
Type Directory
120-
=============================== =============================
121-
Commands ``Command/``
122-
Controllers ``Controller/``
123-
Service Container Extensions ``DependencyInjection/``
124-
Event Listeners ``EventListener/``
125-
Model classes [1] ``Model/``
126-
Configuration ``Resources/config/``
127-
Web Resources (CSS, JS, images) ``Resources/public/``
128-
Translation files ``Resources/translations/``
129-
Templates ``Resources/views/``
130-
Unit and Functional Tests ``Tests/``
131-
=============================== =============================
118+
=============================== ============================= ================
119+
Type Directory Relationship
120+
=============================== ============================= ================
121+
Commands ``Command/`` Mandatory
122+
Controllers ``Controller/`` Mandatory
123+
Service Container Extensions ``DependencyInjection/`` Mandatory
124+
Event Listeners ``EventListener/`` Convention
125+
Model classes [1] ``Model/`` Convention
126+
Configuration ``Resources/config/`` Mandatory
127+
Web Resources (CSS, JS, images) ``Resources/public/`` Mandatory
128+
Translation files ``Resources/translations/`` Mandatory
129+
Templates ``Resources/views/`` Mandatory
130+
Unit and Functional Tests ``Tests/`` Convention
131+
=============================== ============================= ================
132132

133133
[1] See :doc:`/cookbook/doctrine/mapping_model_classes` for how to handle the
134134
mapping with a compiler pass.

0 commit comments

Comments
 (0)