Remove usage of the whole container
Closed this issue · 3 comments
Right now CacheWarmers
receive the whole container and also in Command:
DoctrineMongoDBBundle/Command/DoctrineODMCommand.php
Lines 29 to 31 in ccc51c0
it would be nice to inject only the used services and parameters and remove the usage of the whole container.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
This should be aiming v5.0 because commands are marked as @internal
since then and container-related methods are marked for removal in v5:
DoctrineMongoDBBundle/Command/DoctrineODMCommand.php
Lines 46 to 59 in 6f1b0da