Skip to content
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

[2.0] Change extend to allow any callable #21

Closed
mbabker opened this issue Jun 17, 2017 · 0 comments
Closed

[2.0] Change extend to allow any callable #21

mbabker opened this issue Jun 17, 2017 · 0 comments

Comments

@mbabker
Copy link
Contributor

mbabker commented Jun 17, 2017

The extend() method is typehinted to only allow a Closure to be used for service decorators. This is inconsistent with the rest of the container which allows any callable to be used for a service. Let's make extend() work with anything that is callable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant