Skip to content

Commit 0643418

Browse files
committed
Update bundle page to reflect best practices #15881
1 parent 5f134c8 commit 0643418

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

bundles.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,26 +86,26 @@ The directory structure of a bundle is meant to help to keep code consistent
8686
between all Symfony bundles. It follows a set of conventions, but is flexible
8787
to 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

111111
A bundle can be as small or large as the feature it implements. It contains

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,7 @@ The Beanstalkd transport DSN may looks like this:
13941394
The transport has a number of options:
13951395

13961396
================== =================================== ======================
1397-
Option Description Default
1397+
Option Description Default
13981398
================== =================================== ======================
13991399
tube_name Name of the queue default
14001400
timeout Message reservation timeout 0 (will cause the

0 commit comments

Comments
 (0)