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
8787between all Symfony bundles. It follows a set of conventions, but is flexible
8888to be adjusted if needed:
8989
90- ``Controller/ ``
90+ ``src/ Controller/ ``
9191 Contains the controllers of the bundle (e.g. ``RandomController.php ``).
9292
93- ``DependencyInjection/ ``
93+ ``src/ DependencyInjection/ ``
9494 Holds certain Dependency Injection Extension classes, which may import service
9595 configuration, register compiler passes or more (this directory is not
9696 necessary).
9797
98- ``Resources/ config/ ``
98+ ``config/ ``
9999 Houses configuration, including routing configuration (e.g. ``routing.yaml ``).
100100
101- ``Resources/views / ``
101+ ``templates / ``
102102 Holds templates organized by controller name (e.g. ``Random/index.html.twig ``).
103103
104- ``Resources/ public/ ``
104+ ``public/ ``
105105 Contains web assets (images, stylesheets, etc) and is copied or symbolically
106106 linked into the project ``public/ `` directory via the ``assets:install `` console
107107 command.
108108
109- ``Tests / ``
109+ ``tests / ``
110110 Holds all tests for the bundle.
111111
112112A 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