Skip to content

Conversation

Chris53897
Copy link
Contributor

The docu is not up to date. There is a blog post about this, but could not find it at quick search.
https://symfony.com/doc/current/console/commands_as_services.html#console-command-service-lazy-loading
https://github.com/symfony/console/blob/5.4/Command/Command.php

I keept the 2 method calls in configure() for backward compatibility

@lsmith77
Copy link
Member

lsmith77 commented Jan 7, 2022

it would make sense to use the values in the static properties in the methods calls so that this isn’t just duplicated

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.

2 participants