Skip to content

Commit

Permalink
minor #5290 Overriding 3rd party bundles (anacicconi)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5290).

Discussion
----------

Overriding 3rd party bundles

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #4635

Commits
-------

58bb3c5 overriding 3rd party bundles
  • Loading branch information
weaverryan committed Jun 27, 2015
2 parents c9c6a97 + 58bb3c5 commit e687f5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions best_practices/creating-the-project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ Symfony documentation uses the AppBundle name.
There is no need to prefix the AppBundle with your own vendor (e.g.
AcmeAppBundle), because this application bundle is never going to be
shared.

.. note::

Another reason to create a new bundle is when you're overriding something
in a vendor's bundle. For instance, if you have to override an action of
the FOSUserBundle, then you should create a UserBundle that would be used
only for this purpose.

All in all, this is the typical directory structure of a Symfony application
that follows these best practices:
Expand Down

0 comments on commit e687f5d

Please sign in to comment.