Skip to content

Commit 7055d6b

Browse files
javiereguiluzxabbuh
authored andcommitted
Removed backticks from bundle names
1 parent 57fcec0 commit 7055d6b

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

bundles/best_practices.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ Here are some valid bundle namespaces and class names:
4949
========================== ==================
5050
Namespace Bundle Class Name
5151
========================== ==================
52-
``Acme\Bundle\BlogBundle`` ``AcmeBlogBundle``
53-
``Acme\BlogBundle`` ``AcmeBlogBundle``
52+
``Acme\Bundle\BlogBundle`` AcmeBlogBundle
53+
``Acme\BlogBundle`` AcmeBlogBundle
5454
========================== ==================
5555

5656
By convention, the ``getName()`` method of the bundle class should return the
@@ -59,8 +59,7 @@ class name.
5959
.. note::
6060

6161
If you share your bundle publicly, you must use the bundle class name as
62-
the name of the repository (``AcmeBlogBundle`` and not ``BlogBundle``
63-
for instance).
62+
the name of the repository (AcmeBlogBundle and not BlogBundle for instance).
6463

6564
.. note::
6665

@@ -69,14 +68,14 @@ class name.
6968
:class:`Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle`.
7069

7170
Each bundle has an alias, which is the lower-cased short version of the bundle
72-
name using underscores (``acme_blog`` for ``AcmeBlogBundle``). This alias
71+
name using underscores (``acme_blog`` for AcmeBlogBundle). This alias
7372
is used to enforce uniqueness within a project and for defining bundle's
7473
configuration options (see below for some usage examples).
7574

7675
Directory Structure
7776
-------------------
7877

79-
The basic directory structure of an ``AcmeBlogBundle`` must read as follows:
78+
The basic directory structure of an AcmeBlogBundle must read as follows:
8079

8180
.. code-block:: text
8281
@@ -403,8 +402,8 @@ The ``composer.json`` file should include at least the following metadata:
403402
Consists of the vendor and the short bundle name. If you are releasing the
404403
bundle on your own instead of on behalf of a company, use your personal name
405404
(e.g. ``johnsmith/blog-bundle``). Exclude the vendor name from the bundle
406-
short name and separate each word with an hyphen. For example: ``AcmeBlogBundle``
407-
is transformed into ``blog-bundle`` and ``AcmeSocialConnectBundle`` is
405+
short name and separate each word with an hyphen. For example: AcmeBlogBundle
406+
is transformed into ``blog-bundle`` and AcmeSocialConnectBundle is
408407
transformed into ``social-connect-bundle``.
409408

410409
``description``

0 commit comments

Comments
 (0)