Open Chris53897 opened 3 years ago
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
it would make sense to use the values in the static properties in the methods calls so that this isn’t just duplicated
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