diff --git a/cookbook/bundles/extension.rst b/cookbook/bundles/extension.rst index 302e4092eb8..70dd030b89b 100644 --- a/cookbook/bundles/extension.rst +++ b/cookbook/bundles/extension.rst @@ -97,7 +97,7 @@ Creating an Extension Class If you do choose to expose a semantic configuration for your bundle, you'll first need to create a new "Extension" class, which will handle the process. -This class should live in the ``DependenyInjection`` directory of your bundle +This class should live in the ``DependencyInjection`` directory of your bundle and its name should be constructed by replacing the ``Bundle`` postfix of the Bundle class name with ``Extension``. For example, the Extension class of ``AcmeHelloBundle`` would be called ``AcmeHelloExtension``:: @@ -528,4 +528,4 @@ file. Once again, this is because the Extension class doesn't follow the standards set out above, so nothing happens automatically. .. _`FrameworkBundle Configuration`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php -.. _`TwigBundle Configuration`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php \ No newline at end of file +.. _`TwigBundle Configuration`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php