@@ -113,22 +113,23 @@ them under the ``cache/`` or ``log/`` directory of the host application. Tools
113113can generate files in the bundle directory structure, but only if the generated
114114files are going to be part of the repository.
115115
116- The following classes and files have specific emplacements:
117-
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- =============================== =============================
116+ The following classes and files have specific emplacements (some are mandatory
117+ and others are just conventions followed by most developers):
118+
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+ =============================== ============================= ================
132133
133134[1] See :doc: `/cookbook/doctrine/mapping_model_classes ` for how to handle the
134135mapping with a compiler pass.
0 commit comments