Skip to content

Commit a04a412

Browse files
committed
minor #7156 Added Doctrine entities and documents to the list of known locations for classes (javiereguiluz)
This PR was squashed before being merged into the 2.7 branch (closes #7156). Discussion ---------- Added Doctrine entities and documents to the list of known locations for classes Commits ------- 8764708 Final updates 469d0ea Added Doctrine entities and documents to the list of known locations for classes
2 parents 138f29a + 8764708 commit a04a412

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

bundles/best_practices.rst

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

118-
=============================== ============================= ================
119-
Type Directory Mandatory?
120-
=============================== ============================= ================
121-
Commands ``Command/`` Yes
122-
Controllers ``Controller/`` No
123-
Service Container Extensions ``DependencyInjection/`` Yes
124-
Event Listeners ``EventListener/`` No
125-
Model classes [1] ``Model/`` No
126-
Configuration ``Resources/config/`` No
127-
Web Resources (CSS, JS, images) ``Resources/public/`` Yes
128-
Translation files ``Resources/translations/`` Yes
129-
Templates ``Resources/views/`` Yes
130-
Unit and Functional Tests ``Tests/`` No
131-
=============================== ============================= ================
132-
133-
[1] See :doc:`/doctrine/mapping_model_classes` for how to handle the
134-
mapping with a compiler pass.
118+
=================================================== ========================================
119+
Type Directory
120+
=================================================== ========================================
121+
Commands ``Command/``
122+
Controllers ``Controller/``
123+
Service Container Extensions ``DependencyInjection/``
124+
Doctrine ORM entities (when not using annotations) ``Entity/``
125+
Doctrine ODM documents (when not using annotations) ``Document/``
126+
Event Listeners ``EventListener/``
127+
Configuration ``Resources/config/``
128+
Web Resources (CSS, JS, images) ``Resources/public/``
129+
Translation files ``Resources/translations/``
130+
Validation (when not using annotations) ``Resources/config/validation/``
131+
Serialization (when not using annotations) ``Resources/config/serialization/``
132+
Templates ``Resources/views/``
133+
Unit and Functional Tests ``Tests/``
134+
=================================================== ========================================
135135

136136
Classes
137137
-------

0 commit comments

Comments
 (0)