diff --git a/cookbook/bundles/extension.rst b/cookbook/bundles/extension.rst index aa2c5be8a35..78092a3f3fd 100644 --- a/cookbook/bundles/extension.rst +++ b/cookbook/bundles/extension.rst @@ -70,7 +70,7 @@ should also override :method:`Extension::getAlias() ` to return the correct DI alias. The DI alias is the name used to refer to the bundle in the container (e.g. in the ``app/config/config.yml`` file). By -default, this is done by removing the ``Extension`` prefix and converting the +default, this is done by removing the ``Extension`` suffix and converting the class name to underscores (e.g. ``AcmeHelloExtension``'s DI alias is ``acme_hello``).