Closed franmomu closed 4 years ago
I think that we can consider this as not-BC. People should not have extended those command IMO. @gnat42 what do you think?
Can we remove completly the setContainer/getContainer methods?
i've forgot about it, but did you check https://github.com/schmittjoh/JMSTranslationBundle/pull/515/files ?
i've forgot about it, but did you check https://github.com/schmittjoh/JMSTranslationBundle/pull/515/files ?
Yes, It does the same thing but with the container and using kernel.project_dir
Hey @goetas, I think its fine to remove that. Extending the commands makes no sense so even if it was a break, I kinda feel like its one that is ok.
Thanks for your work
Description
I removed extending from
ContainerAwareCommand
by extending fromCommand
and addinggetContainer
andsetContainer
methods and also callingsetContainer
from the service declaration. I think it is BC, but maybe I'm missing something.