Skip to content

Commit 776d0b7

Browse files
committed
minor #9052 Mention the SensioGeneratorBundle in the bundles article (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Mention the SensioGeneratorBundle in the bundles article This fixes #9040. Commits ------- 276109d Mention the SensioGeneratorBundle in the bundles article
2 parents 93556ae + 276109d commit 776d0b7

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

bundles.rst

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,14 @@ are used by your application (including the core Symfony bundles).
6565
Creating a Bundle
6666
-----------------
6767

68-
The Symfony Standard Edition comes with a handy task that creates a fully-functional
69-
bundle for you. Of course, creating a bundle by hand is pretty easy as well.
68+
`SensioGeneratorBundle`_ is an optional bundle that includes commands to create
69+
different elements of your application, such as bundles. If you create lots of
70+
bundles, consider using it. However, this section creates and enables a new
71+
bundle by hand to show how simple is to do it.
7072

71-
To show you how simple the bundle system is, create a new bundle called
72-
AcmeTestBundle and enable it.
73-
74-
.. tip::
75-
76-
The ``Acme`` portion is just a dummy name that should be replaced by
77-
some "vendor" name that represents you or your organization (e.g.
78-
ABCTestBundle for some company named ``ABC``).
73+
The new bundle is called AcmeTestBundle, where the ``Acme`` portion is just a
74+
dummy name that should be replaced by some "vendor" name that represents you or
75+
your organization (e.g. ABCTestBundle for some company named ``ABC``).
7976

8077
Start by creating a ``src/Acme/TestBundle/`` directory and adding a new file
8178
called ``AcmeTestBundle.php``::
@@ -182,3 +179,4 @@ Learn more
182179
bundles/*
183180

184181
.. _`third-party bundles`: https://github.com/search?q=topic%3Asymfony-bundle&type=Repositories
182+
.. _`SensioGeneratorBundle`: https://github.com/sensiolabs/SensioGeneratorBundle

0 commit comments

Comments
 (0)