Skip to content

[9.x] Revert lazy command forcing - #41982

Merged
taylorotwell merged 2 commits into
9.xfrom
revert-lazy-commands
Apr 14, 2022
Merged

[9.x] Revert lazy command forcing#41982
taylorotwell merged 2 commits into
9.xfrom
revert-lazy-commands

Conversation

@taylorotwell

Copy link
Copy Markdown
Member

No description provided.

@taylorotwell
taylorotwell merged commit d12a6cc into 9.x Apr 14, 2022
@taylorotwell
taylorotwell deleted the revert-lazy-commands branch April 14, 2022 18:35
@GrahamCampbell GrahamCampbell changed the title Revert lazy command forcing [9.x] Revert lazy command forcing Apr 21, 2022
@etyson17

Copy link
Copy Markdown

I was wondering if someone could help me understand a piece of code related to this commit here.

I am working on a Laravel 0 app and I am unable to hide the db:wipe command the by adding it to the hidden section like with other commands, however by removing these 3 line it works as expected.

use Symfony\Component\Console\Attribute\AsCommand;
#[AsCommand(name: 'db:wipe')]
protected static $defaultName = 'db:wipe';

I was hoping you could explain why you added the first 2 back and how or what is using the 3rd.

@etyson17

Copy link
Copy Markdown

@taylorotwell Can you provide any clarification on this?

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