Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: activate lazyload for command listing #236

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

Chris53897
Copy link

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