-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Updated the bundle install and uninstall articles for Symfony 4 #8617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
.. code-block:: terminal | ||
|
||
$ bin/console config:dump-reference assetic | ||
$ bin/console config:dump-reference WebProfilerBundle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
php bin/console config:dump-reference WebProfilerBundle
$ bin/console config:dump-reference WebProfilerBundle | ||
|
||
# you can also pass the bundle alias used in its config files: | ||
# bin/console config:dump-reference web_profiler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ php bin/console ...
@@ -140,21 +114,23 @@ The output will look like this: | |||
|
|||
.. code-block:: terminal | |||
|
|||
$ bin/console config:dump-reference AsseticBundle use_controller | |||
$ bin/console config:dump-reference TwigBundle date |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
php bin/console
If the bundle included web assets, remove them from the ``public/bundles/`` | ||
directory (e.g. ``public/bundles/nelmioapidoc/`` for the NelmioApiDocBundle). | ||
|
||
3. Remove Integration in other Bundles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoa, we shouldn't edit third party bundles to remove their integration? I know you don't mean that, but that title seems to indicate it (and I'm also not very sure what you do mean with this section).
As soon as bundle A depends on B, composer will not allow you to remove B so I don't think there is a problem here?
What we can say is that you have to remove the integration in your application. But that's rather obvious...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't change that from the original article. See https://symfony.com/doc/current/bundles/remove.html#remove-integration-in-other-bundles
In #8681 I've also proposed removing the |
No description provided.