Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add third column to specific emplacements table describing relationship #5559

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
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
28 changes: 14 additions & 14 deletions cookbook/bundles/best_practices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,20 +117,20 @@ files are going to be part of the repository.

The following classes and files have specific emplacements:

=============================== =============================
Type Directory
=============================== =============================
Commands ``Command/``
Controllers ``Controller/``
Service Container Extensions ``DependencyInjection/``
Event Listeners ``EventListener/``
Model classes [1] ``Model/``
Configuration ``Resources/config/``
Web Resources (CSS, JS, images) ``Resources/public/``
Translation files ``Resources/translations/``
Templates ``Resources/views/``
Unit and Functional Tests ``Tests/``
=============================== =============================
=============================== ============================= ================
Type Directory Relationship
=============================== ============================= ================
Commands ``Command/`` Mandatory
Controllers ``Controller/`` Mandatory
Service Container Extensions ``DependencyInjection/`` Mandatory
Event Listeners ``EventListener/`` Convention
Model classes [1] ``Model/`` Convention
Configuration ``Resources/config/`` Mandatory
Web Resources (CSS, JS, images) ``Resources/public/`` Mandatory
Translation files ``Resources/translations/`` Mandatory
Templates ``Resources/views/`` Mandatory
Unit and Functional Tests ``Tests/`` Convention
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in some degree, this is mandatory too (as it's configured in the phpunit config file).

=============================== ============================= ================

[1] See :doc:`/cookbook/doctrine/mapping_model_classes` for how to handle the
mapping with a compiler pass.
Expand Down