Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added Doctrine entities and documents to the list of known locations for classes#7156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 2 commits into2.7frombundle_classes
Nov 2, 2017
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletionsbundles/best_practices.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -116,23 +116,23 @@ files are going to be part of the repository.
The following classes and files have specific emplacements (some are mandatory
and others are just conventions followed by most developers):

============================================================================
Type DirectoryMandatory?
============================================================================
Commands ``Command/``Yes
Controllers ``Controller/``No
Service Container Extensions ``DependencyInjection/``Yes
Event Listeners ``EventListener/`` No
Model classes [1] ``Model/`` No
Configuration``Resources/config/``No
Web Resources (CSS, JS, images)``Resources/public/``Yes
Translation files ``Resources/translations/``Yes
Templates ``Resources/views/`` Yes
Unit and Functional Tests``Tests/`` No
=============================== ============================= ================

[1] See :doc:`/doctrine/mapping_model_classes` for how to handle the
mapping with a compiler pass.
===========================================================================================
TypeDirectory
===========================================================================================
Commands``Command/``
Controllers``Controller/``
Service Container Extensions``DependencyInjection/``
Doctrine ORM entities (when not using annotations)``Entity/``
Doctrine ODM documents (when not using annotations) ``Document/``
Event Listeners ``EventListener/``
Configuration``Resources/config/``
Web Resources (CSS, JS, images)``Resources/public/``
Translation files``Resources/translations/``
Validation (when not using annotations)``Resources/config/validation/``
Serialization (when not using annotations) ``Resources/config/serialization/``
Templates ``Resources/views/``
Unit and Functional Tests ``Tests/``
=================================================== ========================================

Classes
-------
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp