-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
[RFC] Support decorators #149
Labels
Comments
As I understand it will be impossible with reworked service providers |
Implemented via service providers. |
@BoShurik please check if new service provider extensions are what you've meant. |
@samdark yes it is. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be great to have something like this:
Now it will be:
And it's impossible to register decorators by modules (e.g. debug decorators)
https://symfony.com/doc/current/service_container/service_decoration.html
https://php-di.org/doc/definition-overriding.html#decorators
https://laravel.com/docs/8.x/container#extending-bindings
The text was updated successfully, but these errors were encountered: