Skip to content

Commit 9351233

Browse files
Reword the introduction to the article
1 parent 59c4299 commit 9351233

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

bundles/inheritance.rst

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,12 @@ in one of your own bundles. Symfony gives you a very convenient way to override
1010
things like controllers, templates, and other files in a bundle's
1111
``Resources/`` directory.
1212

13-
For example, suppose that you're installing the `FOSUserBundle`_, but you
14-
want to override its base ``layout.html.twig`` template, as well as one of
15-
its controllers. Suppose also that you have your own UserBundle where you want
16-
the overridden files to live.
13+
For example, suppose that you have installed `FOSUserBundle`_ but you want to
14+
override its base ``layout.html.twig`` template, as well as one of its
15+
controllers.
1716

18-
.. note::
19-
20-
If you've just created your own UserBundle to make the overrides, make sure you register it in app/AppKernel.php
21-
22-
Let's start by registering the FOSUserBundle as the "parent" of your bundle::
17+
First, create a new bundle called UserBundle and enable it in your application.
18+
Then, register the third-party FOSUserBundle as the "parent" of your bundle::
2319

2420
// src/UserBundle/UserBundle.php
2521
namespace UserBundle;

0 commit comments

Comments
 (0)