From d75a175462ff9f8ac8ee411d66ff59d7ad6e6690 Mon Sep 17 00:00:00 2001 From: Boris Sondagh Date: Mon, 18 Jan 2021 15:27:48 +0100 Subject: [PATCH] Update best_practices.rst --- bundles/best_practices.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bundles/best_practices.rst b/bundles/best_practices.rst index 696c9da58ff..80e13b8b10b 100644 --- a/bundles/best_practices.rst +++ b/bundles/best_practices.rst @@ -25,6 +25,7 @@ namespace short name, which must end with ``Bundle``. A namespace becomes a bundle as soon as you add a bundle class to it. The bundle class name must follow these rules: +* Extend Symfony\Component\HttpKernel\Bundle\Bundle * Use only alphanumeric characters and underscores; * Use a StudlyCaps name (i.e. camelCase with an uppercase first letter); * Use a descriptive and short name (no more than two words); @@ -41,9 +42,6 @@ Namespace Bundle Class Name ``Acme\BlogBundle`` AcmeBlogBundle ========================== ================== -By convention, the ``getName()`` method of the bundle class should return the -class name. - .. note:: If you share your bundle publicly, you must use the bundle class name as