File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -86,26 +86,26 @@ The directory structure of a bundle is meant to help to keep code consistent
8686between all Symfony bundles. It follows a set of conventions, but is flexible
8787to be adjusted if needed:
8888
89- ``Controller/ ``
89+ ``src/ Controller/ ``
9090 Contains the controllers of the bundle (e.g. ``RandomController.php ``).
9191
92- ``DependencyInjection/ ``
92+ ``src/ DependencyInjection/ ``
9393 Holds certain Dependency Injection Extension classes, which may import service
9494 configuration, register compiler passes or more (this directory is not
9595 necessary).
9696
97- ``Resources/ config/ ``
97+ ``config/ ``
9898 Houses configuration, including routing configuration (e.g. ``routing.yaml ``).
9999
100- ``Resources/views / ``
100+ ``templates / ``
101101 Holds templates organized by controller name (e.g. ``Random/index.html.twig ``).
102102
103- ``Resources/ public/ ``
103+ ``public/ ``
104104 Contains web assets (images, stylesheets, etc) and is copied or symbolically
105105 linked into the project ``public/ `` directory via the ``assets:install `` console
106106 command.
107107
108- ``Tests / ``
108+ ``tests / ``
109109 Holds all tests for the bundle.
110110
111111A bundle can be as small or large as the feature it implements. It contains
You can’t perform that action at this time.
0 commit comments