8000 Added Doctrine entities and documents to the list of known locations … · matthieu88160/symfony-docs@469d0ea · GitHub
[go: up one dir, main page]

Skip to content

Commit 469d0ea

Browse files
Added Doctrine entities and documents to the list of known locations for classes
1 parent ed3ae3c commit 469d0ea

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

bundles/best_practices.rst

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,20 @@ 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-
Event Listeners ``EventListener/`` No
126-
Model classes [1] ``Model/`` 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-
=============================== ============================= ================
133-
134-
[1] See :doc:`/doctrine/mapping_model_classes` for how to handle the
135-
mapping with a compiler pass.
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+
=============================== ======================================== ==========
136133

137134
Classes
138135
-------

0 commit comments

Comments
 (0)
0