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
I have around 10 compiler passes in my code base.
I have NOT configured the path to container XML as I am not interested in testing for existing/non-existing services.
However, somehow, one and only one of my compiler passes fails with the message:
Call to method Symfony\Component\DependencyInjection\ContainerBuilder::has() with 'fos_http_cache.cache_manager' will always evaluate to false.
The code in question is fairly standard:
if (!$container->has('fos_http_cache.cache_manager')) { return; }
Every other compiler pass uses the same pattern and does not fail.
Why?
Thanks!
The text was updated successfully, but these errors were encountered:
Same here:
Call to method Symfony\Component\DependencyInjection\ContainerBuilder::has() with 'sonata.doctrine…' will always evaluate to false.
Sorry, something went wrong.
No branches or pull requests
I have around 10 compiler passes in my code base.
I have NOT configured the path to container XML as I am not interested in testing for existing/non-existing services.
However, somehow, one and only one of my compiler passes fails with the message:
The code in question is fairly standard:
Every other compiler pass uses the same pattern and does not fail.
Why?
Thanks!
The text was updated successfully, but these errors were encountered: