@@ -45,12 +45,12 @@ bundle class name must follow these simple rules:
45
45
46
46
Here are some valid bundle namespaces and class names:
47
47
48
- ================================= ====== ==================
49
- Namespace Bundle Class Name
50
- ================================= ====== ==================
51
- ``Acme\Bundle\BlogBundle `` ``AcmeBlogBundle ``
52
- ``Acme\BlogBundle `` ``AcmeBlogBundle ``
53
- ================================= ====== ==================
48
+ ========================== ==================
49
+ Namespace Bundle Class Name
50
+ ========================== ==================
51
+ ``Acme\Bundle\BlogBundle `` ``AcmeBlogBundle ``
52
+ ``Acme\BlogBundle `` ``AcmeBlogBundle ``
53
+ ========================== ==================
54
54
55
55
By convention, the ``getName() `` method of the bundle class should return the
56
56
class name.
@@ -339,10 +339,11 @@ The ``composer.json`` file should include at least the following metadata:
339
339
personal name (e.g. ``johnsmith/blog-bundle ``). The bundle short name excludes
340
340
the vendor name and separates each word with an hyphen. For example:
341
341
``AcmeBlogBundle `` is transformed into ``blog-bundle `` and ``AcmeSocialConnectBundle ``
342
- is transformed into ``acme- social-bundle ``;
342
+ is transformed into ``social-connect -bundle ``;
343
343
* ``description ``, a brief explanation of the purpose of the bundle;
344
344
* ``type ``, use the ``symfony-bundle `` value;
345
- * ``license ``, use the ``MIT `` value.
345
+ * ``license ``, ``MIT `` is the preferred license for Symfony bundles, but you
346
+ can use any other value.
346
347
347
348
Learn more from the Cookbook
348
349
----------------------------
0 commit comments