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

[BC] Container should not be a variable on Symfony2 module #2954

Closed
raistlin opened this issue Apr 4, 2016 · 0 comments
Closed

[BC] Container should not be a variable on Symfony2 module #2954

raistlin opened this issue Apr 4, 2016 · 0 comments
Assignees
Labels

Comments

@raistlin
Copy link
Member

@raistlin raistlin commented Apr 4, 2016

Container variable should be refactored into a method call to $this->kernel->getContainer() to avoid trouble dealing with non-booted kernels and with tests with multiple requests, as each request boots its own kernel and creates a new container instance.

@raistlin raistlin self-assigned this Apr 4, 2016
@raistlin raistlin added the Symfony label Apr 4, 2016
@raistlin raistlin changed the title Container should not be a variable on Symfony2 module [BC] Container should not be a variable on Symfony2 module Apr 5, 2016
@raistlin raistlin closed this Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.