Skip to content

Removed the use of getContainer in ConsumerCommand#35

Open
BertrandF23 wants to merge 1 commit intomasterfrom
feature/clean-consumer-command
Open

Removed the use of getContainer in ConsumerCommand#35
BertrandF23 wants to merge 1 commit intomasterfrom
feature/clean-consumer-command

Conversation

@BertrandF23
Copy link
Contributor

Using getContainer in a Symfony command is not recommended, especially because of Symfony 3. And also to make it much easier to test the command using dependency injection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant