File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,12 @@ in one of your own bundles. Symfony gives you a very convenient way to override
1010things 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;
You can’t perform that action at this time.
0 commit comments