yireo / shopware6-list-decorators
List all service decorators
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:shopware-platform-plugin
Requires
- shopware/core: ~6.4
This package is auto-updated.
Last update: 2024-11-06 10:48:52 UTC
README
Shopware plugin to list all service decorators from a CLI debug:decorators
In Symfony, decorators can be shown with the command bin/console debug:container --tag container.decorator
.
However, this only dumps a list of all decorator class and does not show what they are actually decorating.
This Shopware plugin adds another command debug:decorators
to list all decorator classes with their
corresponding original service. Plus a column to indicate whether the decorator implements the parent interface
(which would be nice) or extends the parent class (which could lead to potential bugs).
Installation
composer require yireo/shopware6-list-decorators bin/console plugins:refresh bin/console plugins:install --activate YireoListDecorators bin/console debug:decorators