Skip to content

[DependencyInjection] Added support for closure as a factory method #11968

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

Closed

Conversation

unkind
Copy link
Contributor

@unkind unkind commented Sep 20, 2014

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT
Doc PR n/a

I've detached closure's part from #11953. Furthermore, there is no SuperClosure dependency anymore, because I'm not sure if I have to create bridge package by myself.

@unkind unkind force-pushed the feature-closure-as-factory-method branch 2 times, most recently from 7ff4be2 to 958ab11 Compare September 20, 2014 13:46
@unkind unkind force-pushed the feature-closure-as-factory-method branch from 958ab11 to 000b348 Compare September 20, 2014 22:50
@unkind unkind force-pushed the feature-closure-as-factory-method branch from 000b348 to 75fac20 Compare September 21, 2014 11:22
@fabpot
Copy link
Member

fabpot commented Sep 24, 2014

2.6 is going to have a new better way to register factories. See #12008

@unkind
Copy link
Contributor Author

unkind commented Sep 24, 2014

Yes, that PR looks nice. I'll fix and rebase my PR after merging that one.

@stof
Copy link
Member

stof commented Sep 24, 2014

I agree this should wait for #12008. Defining a closure in factoryMethod is wrong, as a closure is not a method.

@stof
Copy link
Member

stof commented Sep 25, 2014

@unkind the PR has been merged

@unkind
Copy link
Contributor Author

unkind commented Sep 26, 2014

That's good. I'll make my changes this weekend.

@unkind
Copy link
Contributor Author

unkind commented Sep 27, 2014

I wait for #12065.

@unkind
Copy link
Contributor Author

unkind commented Oct 3, 2014

I've opened new PR: #12115.

@unkind unkind closed this Oct 3, 2014
@unkind unkind deleted the feature-closure-as-factory-method branch October 3, 2014 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants