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
86
86
between all Symfony bundles. It follows a set of conventions, but is flexible
87
87
to be adjusted if needed:
88
88
89
- ``Controller/ ``
89
+ ``src/ Controller/ ``
90
90
Contains the controllers of the bundle (e.g. ``RandomController.php ``).
91
91
92
- ``DependencyInjection/ ``
92
+ ``src/ DependencyInjection/ ``
93
93
Holds certain Dependency Injection Extension classes, which may import service
94
94
configuration, register compiler passes or more (this directory is not
95
95
necessary).
96
96
97
- ``Resources/ config/ ``
97
+ ``config/ ``
98
98
Houses configuration, including routing configuration (e.g. ``routing.yaml ``).
99
99
100
- ``Resources/views / ``
100
+ ``templates / ``
101
101
Holds templates organized by controller name (e.g. ``Random/index.html.twig ``).
102
102
103
- ``Resources/ public/ ``
103
+ ``public/ ``
104
104
Contains web assets (images, stylesheets, etc) and is copied or symbolically
105
105
linked into the project ``public/ `` directory via the ``assets:install `` console
106
106
command.
107
107
108
- ``Tests / ``
108
+ ``tests / ``
109
109
Holds all tests for the bundle.
110
110
111
111
A 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