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