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

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

Comments

Projects
None yet
1 participant
@raistlin
Member

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 from Container should not be a variable on Symfony2 module to [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