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

[DependencyInjection][3.0] Add initialized to container interface #15347

Conversation

znerol
Copy link
Contributor

@znerol znerol commented Jul 23, 2015

Q A
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? no
Tests pass? yes
Fixed tickets #15346
License MIT
Doc PR -

@wouterj
Copy link
Member

wouterj commented Jul 23, 2015

This is a BC break, isn't it? As people typehinting for the new interface will have to update their code for Symfony 3.0

@OskarStark
Copy link
Contributor

Yes, it is a BC, everyone who hast implemented ContainerInterfacebefore, has to add the new method initialize() to his code

@hhamon
Copy link
Contributor

hhamon commented Jul 24, 2015

Why not make a separate optional interface?

@OskarStark
Copy link
Contributor

@hhamon thats, what it was before...or i don't understand what you mean

@fabpot
Copy link
Member

fabpot commented Jul 24, 2015

@hhamon #15336

@hhamon
Copy link
Contributor

hhamon commented Jul 24, 2015

@fabpot thanks for the link, I didn't know there was a discussion about it.

@znerol znerol force-pushed the task/master/add-initialized-to-container-interface branch from 4e2f183 to 48a277d Compare July 26, 2015 08:14
@fabpot
Copy link
Member

fabpot commented Jul 26, 2015

👍

@znerol znerol force-pushed the task/master/add-initialized-to-container-interface branch from 48a277d to bfddac3 Compare July 26, 2015 09:37
@znerol
Copy link
Contributor Author

znerol commented Jul 26, 2015

Last commit resolves merge conflicts due to the recent introduction of ResettableContainerInterface.

@nicolas-grekas
Copy link
Member

👍

@fabpot
Copy link
Member

fabpot commented Jul 26, 2015

Thank you @znerol.

@fabpot fabpot merged commit bfddac3 into symfony:master Jul 26, 2015
fabpot added a commit that referenced this pull request Jul 26, 2015
…r interface (znerol)

This PR was merged into the 3.0-dev branch.

Discussion
----------

[DependencyInjection][3.0] Add initialized to container interface

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15346
| License       | MIT
| Doc PR        | -

Commits
-------

bfddac3 [DependencyInjection] Add initialized() to the ContainerInterface
@znerol znerol deleted the task/master/add-initialized-to-container-interface branch July 27, 2015 07:28
@stof
Copy link
Member

stof commented Jul 27, 2015

@fabpot should ResettableContainerInterface stay a separate interface in 3.0 or no ?

@fabpot
Copy link
Member

fabpot commented Jul 27, 2015

@stof I think it should not.

@fabpot fabpot mentioned this pull request Nov 16, 2015
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.

None yet

9 participants