We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The best Test baseclass to work with the container is WebTestCase.
WebTestCase
However calling $this->getKernel() just returns null. Expected here either get the kernel or throw an exception.
$this->getKernel()
null
Then to create the kernel the only option is to do $this->createClient() which gets a client which is useless if you just want the kernel.
$this->createClient()
Last a convenience function to access the container would be nice, perhaps ->get() like in symfony controllers to get services.
->get()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The best Test baseclass to work with the container is
WebTestCase
.However calling
$this->getKernel()
just returnsnull
. Expected here either get the kernel or throw an exception.Then to create the kernel the only option is to do
$this->createClient()
which gets a client which is useless if you just want the kernel.Last a convenience function to access the container would be nice, perhaps
->get()
like in symfony controllers to get services.The text was updated successfully, but these errors were encountered: