Skip to content

Commit 8764708

Browse files
Final updates
1 parent 469d0ea commit 8764708

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

bundles/best_practices.rst

+17-14
Original file line numberDiff line numberDiff line change
@@ -116,20 +116,23 @@ files are going to be part of the repository.
116116
The following classes and files have specific emplacements (some are mandatory
117117
and others are just conventions followed by most developers):
118118

119-
=============================== ======================================== ==========
120-
Type Directory Mandatory?
121-
=============================== ======================================== ==========
122-
Commands ``Command/`` Yes
123-
Controllers ``Controller/`` No
124-
Service Container Extensions ``DependencyInjection/`` Yes
125-
Doctrine entities and documents ``Entity/`` (ORM) or ``Document/`` (ODM) No
126-
Event Listeners ``EventListener/`` No
127-
Configuration ``Resources/config/`` No
128-
Web Resources (CSS, JS, images) ``Resources/public/`` Yes
129-
Translation files ``Resources/translations/`` Yes
130-
Templates ``Resources/views/`` Yes
131-
Unit and Functional Tests ``Tests/`` No
132-
=============================== ======================================== ==========
119+
=================================================== ========================================
120+
Type Directory
121+
=================================================== ========================================
122+
Commands ``Command/``
123+
Controllers ``Controller/``
124+
Service Container Extensions ``DependencyInjection/``
125+
Doctrine ORM entities (when not using annotations) ``Entity/``
126+
Doctrine ODM documents (when not using annotations) ``Document/``
127+
Event Listeners ``EventListener/``
128+
Configuration ``Resources/config/``
129+
Web Resources (CSS, JS, images) ``Resources/public/``
130+
Translation files ``Resources/translations/``
131+
Validation (when not using annotations) ``Resources/config/validation/``
132+
Serialization (when not using annotations) ``Resources/config/serialization/``
133+
Templates ``Resources/views/``
134+
Unit and Functional Tests ``Tests/``
135+
=================================================== ========================================
133136

134137
Classes
135138
-------

0 commit comments

Comments
 (0)