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
Remove dependency on symfony/framework-bundle #842
Comments
Well, technically, we also depend on services defined by FrameworkBundle (for the But that's true we should work on refactoring these commands. Using DI rather than ContainerAwareCommand might be an option, as they are defined as services anyway. But we need to be careful about what to inject in them, to avoid issues with instantiating services too early that might break if the DB is not available. We should make sure that instantiating the command does not require connecting to the DB (otherwise, |
ContainerAwareCommand has been deprecated for 4.2, I'm willing to help avoiding the incoming deprecation notice but I'm not sure what would be the right plan regarding BC. Ideally these commands should be lazy loaded |
#877 unlocks this for v2.0 (once the BC layer removed and the |
Classes from framework bundle are used only for commands. I think they should be refactored.
The text was updated successfully, but these errors were encountered: