-
Notifications
You must be signed in to change notification settings - Fork 66
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 not working for psr-4 modules #1570
Comments
Is this the only PSR-4 based module that you are having difficulty with? What about the acme modules or others you may have refactoted? |
No other module is both psr-4 and uses DI. I noticed it because I was working on a new module locally and couldn't get the DI to work. After I changed it from psr-4 to psr-0 it worked. Then I looked for the Legal stuff in the container (via the profiler) and couldn't find that either. |
@craigh Try to clear your cache. This solved it for me. However, if this helps you too, we need to clear the cache whenever a new module is installed, and this is the real bug here. |
I tried updating composer, self-update, reinstall the module, etc. no changes for me. php v5.4.19 |
I don't know why this didn't work before, but the problem seems to have "fixed itself" as I now can see the listing. 🎱 |
Legal is psr-4 and when using the profiler, there is no indication that the container has the related information like container parameters and services
psr-0 modules seem to work properly
/cc @Drak @cmfcmf
The text was updated successfully, but these errors were encountered: